pub struct ReadyFlags(/* private fields */);Implementations§
Source§impl ReadyFlags
impl ReadyFlags
pub const READABLE: Self
pub const WRITABLE: Self
pub const ACCEPT: Self
pub const DATAGRAM: Self
pub const END: Self
pub const ERROR: Self
pub const CLOSE: Self
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: Self) -> bool
pub const fn bits(self) -> u16
Trait Implementations§
Source§impl BitAnd for ReadyFlags
impl BitAnd for ReadyFlags
Source§impl BitOr for ReadyFlags
impl BitOr for ReadyFlags
Source§impl BitOrAssign for ReadyFlags
impl BitOrAssign for ReadyFlags
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl Clone for ReadyFlags
impl Clone for ReadyFlags
Source§fn clone(&self) -> ReadyFlags
fn clone(&self) -> ReadyFlags
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 ReadyFlags
Source§impl Debug for ReadyFlags
impl Debug for ReadyFlags
Source§impl Default for ReadyFlags
impl Default for ReadyFlags
Source§fn default() -> ReadyFlags
fn default() -> ReadyFlags
Returns the “default value” for a type. Read more
impl Eq for ReadyFlags
Source§impl PartialEq for ReadyFlags
impl PartialEq for ReadyFlags
impl StructuralPartialEq for ReadyFlags
Auto Trait Implementations§
impl Freeze for ReadyFlags
impl RefUnwindSafe for ReadyFlags
impl Send for ReadyFlags
impl Sync for ReadyFlags
impl Unpin for ReadyFlags
impl UnsafeUnpin for ReadyFlags
impl UnwindSafe for ReadyFlags
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