Enum may::cqueue::PollError
[−]
[src]
pub enum PollError { Timeout, Finished, }
This enumeration is the list of the possible reasons that poll
could not return Event when called.
Variants
Timeout
This cqueue currently has no event and timeout happens so data may become available in future
Finished
This cqueue associated select coroutines are all finished
so there will never be any more event received on it unless
subscribe new select coroutines by using add
Trait Implementations
impl PartialEq for PollError
[src]
fn eq(&self, __arg_0: &PollError) -> bool
[src]
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[src]
This method tests for !=
.
impl Eq for PollError
[src]
impl Clone for PollError
[src]
fn clone(&self) -> PollError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more