Struct pal_async::interest::PollEvents
source · pub struct PollEvents(/* private fields */);
Expand description
A set of readiness events for polled IO.
Implementations§
source§impl PollEvents
impl PollEvents
source§impl PollEvents
impl PollEvents
sourcepub fn to_poll_events(self) -> i16
pub fn to_poll_events(self) -> i16
Converts to the platform-specific poll events.
sourcepub fn from_poll_events(poll_events: i16) -> Self
pub fn from_poll_events(poll_events: i16) -> Self
Converts from the platform-specific poll events.
Trait Implementations§
source§impl BitAnd for PollEvents
impl BitAnd for PollEvents
source§impl BitAndAssign for PollEvents
impl BitAndAssign for PollEvents
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOr for PollEvents
impl BitOr for PollEvents
source§impl BitOrAssign for PollEvents
impl BitOrAssign for PollEvents
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl Clone for PollEvents
impl Clone for PollEvents
source§fn clone(&self) -> PollEvents
fn clone(&self) -> PollEvents
Returns a copy of the value. Read more
1.0.0 · 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 Not for PollEvents
impl Not for PollEvents
source§impl PartialEq for PollEvents
impl PartialEq for PollEvents
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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)