Enum client::EventResponse
[−]
[src]
pub enum EventResponse {
NotHandled,
Continue,
Break,
Quit,
}Every event receiver has to return a response for each event received.
Variants
NotHandledThe event was not handled at all
ContinueThe event was handled but should be forwarded to other receivers, too
BreakThe event was handled and should not be forwarded to other receivers
QuitIn response to the event, the program should terminate
Trait Implementations
impl Debug for EventResponse[src]
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) -> bool1.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