pub struct EndPointGet {}Expand description
Multi Channel End Point Get (0x60 0x07).
Implementations§
Source§impl EndPointGet
impl EndPointGet
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 EndPointGet
impl Clone for EndPointGet
Source§impl Debug for EndPointGet
impl Debug for EndPointGet
Source§impl Default for EndPointGet
impl Default for EndPointGet
impl Eq for EndPointGet
Source§impl From<EndPointGet> for Command
impl From<EndPointGet> for Command
Source§fn from(c: EndPointGet) -> Self
fn from(c: EndPointGet) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EndPointGet
impl PartialEq for EndPointGet
impl StructuralPartialEq for EndPointGet
Auto Trait Implementations§
impl Freeze for EndPointGet
impl RefUnwindSafe for EndPointGet
impl Send for EndPointGet
impl Sync for EndPointGet
impl Unpin for EndPointGet
impl UnsafeUnpin for EndPointGet
impl UnwindSafe for EndPointGet
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