#[repr(C, packed(1))]pub struct usb_handshake {
pub bMessageNumber: __u8,
pub bStatus: __u8,
pub tTKID: [__u8; 3],
pub bReserved: __u8,
pub CDID: [__u8; 16],
pub nonce: [__u8; 16],
pub MIC: [__u8; 8],
}
Fields§
§bMessageNumber: __u8
§bStatus: __u8
§tTKID: [__u8; 3]
§bReserved: __u8
§CDID: [__u8; 16]
§nonce: [__u8; 16]
§MIC: [__u8; 8]
Trait Implementations§
Source§impl Clone for usb_handshake
impl Clone for usb_handshake
Source§fn clone(&self) -> usb_handshake
fn clone(&self) -> usb_handshake
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 usb_handshake
impl Debug for usb_handshake
impl Copy for usb_handshake
Auto Trait Implementations§
impl Freeze for usb_handshake
impl RefUnwindSafe for usb_handshake
impl Send for usb_handshake
impl Sync for usb_handshake
impl Unpin for usb_handshake
impl UnwindSafe for usb_handshake
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