pub struct PollEvents(/* private fields */);Implementations§
Source§impl PollEvents
impl PollEvents
Sourcepub const DATA_AVAILABLE: Self
pub const DATA_AVAILABLE: Self
Waiting for data to be available to read.
Sourcepub const DISCONNECTED: Self
pub const DISCONNECTED: Self
The given resource is disconnected, usually is returned and not awaited for. reads may still be possible if there is data available.
pub const fn contains(&self, other: Self) -> bool
pub const fn intersects(&self, other: Self) -> bool
pub const fn is_empty(&self) -> bool
pub const fn union(&self, other: Self) -> Self
pub const fn intersection(&self, other: Self) -> Self
pub const fn difference(&self, other: Self) -> Self
Trait Implementations§
Source§impl Clone for PollEvents
impl Clone for PollEvents
Source§fn clone(&self) -> PollEvents
fn clone(&self) -> PollEvents
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PollEvents
impl Debug for PollEvents
Source§impl Default for PollEvents
impl Default for PollEvents
Source§fn default() -> PollEvents
fn default() -> PollEvents
Returns the “default value” for a type. Read more
Source§impl Hash for PollEvents
impl Hash for PollEvents
Source§impl PartialEq for PollEvents
impl PartialEq for PollEvents
Source§fn eq(&self, other: &PollEvents) -> bool
fn eq(&self, other: &PollEvents) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PollEvents
impl Eq for PollEvents
impl StructuralPartialEq for PollEvents
Auto Trait Implementations§
impl Freeze for PollEvents
impl RefUnwindSafe for PollEvents
impl Send for PollEvents
impl Sync for PollEvents
impl Unpin for PollEvents
impl UnsafeUnpin for PollEvents
impl UnwindSafe for PollEvents
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