#[repr(C)]pub struct osdp_cmd_keyset {
pub type_: u8,
pub length: u8,
pub data: [u8; 32],
}Expand description
@brief This command transfers an encryption key from the CP to a PD.
Fields§
§type_: u8Type of keys:
- 0x01 – Secure Channel Base Key
length: u8Number of bytes of key data - (Key Length in bits + 7) / 8
data: [u8; 32]Key data
Trait Implementations§
Source§impl Clone for osdp_cmd_keyset
impl Clone for osdp_cmd_keyset
Source§fn clone(&self) -> osdp_cmd_keyset
fn clone(&self) -> osdp_cmd_keyset
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for osdp_cmd_keyset
impl Debug for osdp_cmd_keyset
impl Copy for osdp_cmd_keyset
Auto Trait Implementations§
impl Freeze for osdp_cmd_keyset
impl RefUnwindSafe for osdp_cmd_keyset
impl Send for osdp_cmd_keyset
impl Sync for osdp_cmd_keyset
impl Unpin for osdp_cmd_keyset
impl UnwindSafe for osdp_cmd_keyset
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)