pub struct PollOpt(/* private fields */);
Implementations§
Source§impl PollOpt
impl PollOpt
pub fn edge() -> PollOpt
pub fn empty() -> PollOpt
pub fn level() -> PollOpt
pub fn oneshot() -> PollOpt
pub fn all() -> PollOpt
pub fn is_edge(&self) -> bool
pub fn is_level(&self) -> bool
pub fn is_oneshot(&self) -> bool
pub fn bits(&self) -> usize
pub fn contains(&self, other: PollOpt) -> bool
pub fn insert(&mut self, other: PollOpt)
pub fn remove(&mut self, other: PollOpt)
Trait Implementations§
Source§impl Ord for PollOpt
impl Ord for PollOpt
Source§impl PartialOrd for PollOpt
impl PartialOrd for PollOpt
impl Copy for PollOpt
impl Eq for PollOpt
impl StructuralPartialEq for PollOpt
Auto Trait Implementations§
impl Freeze for PollOpt
impl RefUnwindSafe for PollOpt
impl Send for PollOpt
impl Sync for PollOpt
impl Unpin for PollOpt
impl UnwindSafe for PollOpt
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more