pub struct SessionKeys {
pub read_key: [u8; 32],
pub write_key: [u8; 32],
}Expand description
Fields§
§read_key: [u8; 32]Accessory→controller key (Control-Read-Encryption-Key).
write_key: [u8; 32]Controller→accessory key (Control-Write-Encryption-Key).
Trait Implementations§
Source§impl Clone for SessionKeys
impl Clone for SessionKeys
Source§fn clone(&self) -> SessionKeys
fn clone(&self) -> SessionKeys
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SessionKeys
impl Debug for SessionKeys
impl Eq for SessionKeys
Source§impl PartialEq for SessionKeys
impl PartialEq for SessionKeys
Source§fn eq(&self, other: &SessionKeys) -> bool
fn eq(&self, other: &SessionKeys) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SessionKeys
Auto Trait Implementations§
impl Freeze for SessionKeys
impl RefUnwindSafe for SessionKeys
impl Send for SessionKeys
impl Sync for SessionKeys
impl Unpin for SessionKeys
impl UnsafeUnpin for SessionKeys
impl UnwindSafe for SessionKeys
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