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