pub struct Nop {
pub group: bool,
pub resp: bool,
}
Expand description
Does nothing
Fields§
§group: bool
Group with next action
resp: bool
Ask for a response (status)
Trait Implementations§
source§impl Codec for Nop
impl Codec for Nop
type Error = StdError
source§fn encoded_size(&self) -> usize
fn encoded_size(&self) -> usize
Computes the number of bytes required to encode the item.
source§unsafe fn encode_in(&self, out: &mut [u8]) -> usize
unsafe fn encode_in(&self, out: &mut [u8]) -> usize
Encode the item into a given byte array. Read more
impl Copy for Nop
impl StructuralPartialEq for Nop
Auto Trait Implementations§
impl Freeze for Nop
impl RefUnwindSafe for Nop
impl Send for Nop
impl Sync for Nop
impl Unpin for Nop
impl UnwindSafe for Nop
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