#[repr(u16)]pub enum EventRwFlags {
None = 0,
Hangup = 1,
}Expand description
The state of the file descriptor subscribed to with EventType::FdRead or EventType::FdWrite.
Variants§
Trait Implementations§
Source§impl Clone for EventRwFlags
impl Clone for EventRwFlags
Source§fn clone(&self) -> EventRwFlags
fn clone(&self) -> EventRwFlags
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 moreimpl Copy for EventRwFlags
Source§impl Debug for EventRwFlags
impl Debug for EventRwFlags
impl Eq for EventRwFlags
Source§impl PartialEq for EventRwFlags
impl PartialEq for EventRwFlags
Source§fn eq(&self, other: &EventRwFlags) -> bool
fn eq(&self, other: &EventRwFlags) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EventRwFlags
Source§impl TryFrom<u8> for EventRwFlags
impl TryFrom<u8> for EventRwFlags
Auto Trait Implementations§
impl Freeze for EventRwFlags
impl RefUnwindSafe for EventRwFlags
impl Send for EventRwFlags
impl Sync for EventRwFlags
impl Unpin for EventRwFlags
impl UnsafeUnpin for EventRwFlags
impl UnwindSafe for EventRwFlags
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