pub struct Code(pub i32);
Tuple Fields§
§0: i32
Implementations§
Source§impl Code
impl Code
pub const OK: Self
pub const REQUEST_COMPLETED: Self
pub const SERVER_ERROR: Self
pub const CLIENT_ERROR: Self
pub const DISABLED: Self
pub const TIMEOUT: Self
pub const CONTINUE: Self
pub fn any_flags(&self, flags: Code) -> bool
pub fn any_flags_clear(&self, flags: Code) -> bool
pub fn all_flags(&self, flags: Code) -> bool
pub fn all_flags_clear(&self, flags: Code) -> bool
Trait Implementations§
Source§impl BitAndAssign for Code
impl BitAndAssign for Code
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moreSource§impl BitOrAssign for Code
impl BitOrAssign for Code
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moreimpl Copy for Code
Auto Trait Implementations§
impl Freeze for Code
impl RefUnwindSafe for Code
impl Send for Code
impl Sync for Code
impl Unpin for Code
impl UnwindSafe for Code
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