Enum client::EventResponse [] [src]

pub enum EventResponse {
    NotHandled,
    Continue,
    Break,
    Quit,
}

Every event receiver has to return a response for each event received.

Variants

NotHandled

The event was not handled at all

Continue

The event was handled but should be forwarded to other receivers, too

Break

The event was handled and should not be forwarded to other receivers

Quit

In response to the event, the program should terminate

Trait Implementations

impl Debug for EventResponse
[src]

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

Formats the value using the given formatter.

impl Eq for EventResponse
[src]

impl PartialEq for EventResponse
[src]

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

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

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Copy for EventResponse
[src]

impl Clone for EventResponse
[src]

fn clone(&self) -> EventResponse

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