Enum cucumber::event::response::Response [] [src]

pub enum Response {
    StepMatches(StepMatchesResponse),
    Invoke(InvokeResponse),
    BeginScenario,
    EndScenario,
    SnippetText(String),
}

Types of responses produced by runners

Variants

StepMatches(StepMatchesResponse)Invoke(InvokeResponse)BeginScenarioEndScenarioSnippetText(String)

Trait Implementations

impl Debug for Response
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for Response
[src]

fn clone(&self) -> Response

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl PartialEq for Response
[src]

fn eq(&self, __arg_0: &Response) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Response) -> bool

This method tests for !=.

impl Eq for Response
[src]

impl Serialize for Response
[src]

fn serialize<S: Serializer>(&self, s: &mut S) -> Result<(), S::Error>

Serializes this value into this serializer.