pub struct NoMoreInformation {}Expand description
Wake Up No More Information (0x84 0x08).
Implementations§
Source§impl NoMoreInformation
impl NoMoreInformation
Sourcepub fn parse(p: &[u8]) -> Result<Self, ParseError>
pub fn parse(p: &[u8]) -> Result<Self, ParseError>
Parses the payload after the command id. Extra trailing bytes (newer versions) are ignored.
Sourcepub fn encode_payload(&self, w: &mut Vec<u8>)
pub fn encode_payload(&self, w: &mut Vec<u8>)
Appends the payload after the command id.
Trait Implementations§
Source§impl Clone for NoMoreInformation
impl Clone for NoMoreInformation
Source§impl Debug for NoMoreInformation
impl Debug for NoMoreInformation
Source§impl Default for NoMoreInformation
impl Default for NoMoreInformation
impl Eq for NoMoreInformation
Source§impl From<NoMoreInformation> for Command
impl From<NoMoreInformation> for Command
Source§fn from(c: NoMoreInformation) -> Self
fn from(c: NoMoreInformation) -> Self
Converts to this type from the input type.
Source§impl PartialEq for NoMoreInformation
impl PartialEq for NoMoreInformation
impl StructuralPartialEq for NoMoreInformation
Auto Trait Implementations§
impl Freeze for NoMoreInformation
impl RefUnwindSafe for NoMoreInformation
impl Send for NoMoreInformation
impl Sync for NoMoreInformation
impl Unpin for NoMoreInformation
impl UnsafeUnpin for NoMoreInformation
impl UnwindSafe for NoMoreInformation
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