pub struct ControlOpcode {
pub response: bool,
pub error: bool,
pub more: bool,
pub op: u8,
}Expand description
Control message opcodes (bits: R(1), E(1), M(1), Op(5)).
Fields§
§response: bool§error: bool§more: bool§op: u8Implementations§
Trait Implementations§
Source§impl Clone for ControlOpcode
impl Clone for ControlOpcode
Source§fn clone(&self) -> ControlOpcode
fn clone(&self) -> ControlOpcode
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 ControlOpcode
Source§impl Debug for ControlOpcode
impl Debug for ControlOpcode
impl Eq for ControlOpcode
Source§impl PartialEq for ControlOpcode
impl PartialEq for ControlOpcode
impl StructuralPartialEq for ControlOpcode
Auto Trait Implementations§
impl Freeze for ControlOpcode
impl RefUnwindSafe for ControlOpcode
impl Send for ControlOpcode
impl Sync for ControlOpcode
impl Unpin for ControlOpcode
impl UnsafeUnpin for ControlOpcode
impl UnwindSafe for ControlOpcode
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