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