Struct sozu_command_lib::ready::Ready
source · [−]pub struct Ready(pub u16);
Tuple Fields
0: u16
Implementations
sourceimpl Ready
impl Ready
pub fn empty() -> Ready
pub fn readable() -> Ready
pub fn writable() -> Ready
pub fn error() -> Ready
pub fn hup() -> Ready
pub fn all() -> Ready
pub fn is_none(&self) -> bool
pub fn is_readable(&self) -> bool
pub fn is_writable(&self) -> bool
pub fn is_error(&self) -> bool
pub fn is_hup(&self) -> bool
pub fn insert<T: Into<Self>>(&mut self, other: T)
pub fn remove<T: Into<Self>>(&mut self, other: T)
pub fn contains<T: Into<Self>>(&self, other: T) -> bool
Trait Implementations
sourceimpl<T: Into<Ready>> BitOrAssign<T> for Ready
impl<T: Into<Ready>> BitOrAssign<T> for Ready
sourcefn bitor_assign(&mut self, other: T)
fn bitor_assign(&mut self, other: T)
Performs the
|=
operation. Read moresourceimpl Ord for Ready
impl Ord for Ready
1.21.0 · sourceconst fn max(self, other: Self) -> Self
const fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourceconst fn min(self, other: Self) -> Self
const fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourceconst fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
const fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialOrd<Ready> for Ready
impl PartialOrd<Ready> for Ready
sourcefn partial_cmp(&self, other: &Ready) -> Option<Ordering>
fn partial_cmp(&self, other: &Ready) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Ready
impl Eq for Ready
impl StructuralEq for Ready
impl StructuralPartialEq for Ready
Auto Trait Implementations
impl RefUnwindSafe for Ready
impl Send for Ready
impl Sync for Ready
impl Unpin for Ready
impl UnwindSafe for Ready
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more