Struct rotor::PollOpt
[−]
pub struct PollOpt(_);
Methods
impl PollOpt
fn edge() -> PollOpt
fn empty() -> PollOpt
fn level() -> PollOpt
fn oneshot() -> PollOpt
fn all() -> PollOpt
fn is_edge(&self) -> bool
fn is_level(&self) -> bool
fn is_oneshot(&self) -> bool
fn bits(&self) -> usize
fn contains(&self, other: PollOpt) -> bool
fn insert(&mut self, other: PollOpt)
fn remove(&mut self, other: PollOpt)
Trait Implementations
impl Ord for PollOpt
impl PartialOrd<PollOpt> for PollOpt
fn partial_cmp(&self, __arg_0: &PollOpt) -> Option<Ordering>
fn lt(&self, __arg_0: &PollOpt) -> bool
fn le(&self, __arg_0: &PollOpt) -> bool
fn gt(&self, __arg_0: &PollOpt) -> bool
fn ge(&self, __arg_0: &PollOpt) -> bool
impl Clone for PollOpt
fn clone(&self) -> PollOpt
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