pub struct NcmState<'a> {
pub state: State<'a>,
pub mac_address: [u8; 6],
pub max_packet_size: u16,
}Expand description
ncm state
Fields§
§state: State<'a>§mac_address: [u8; 6]§max_packet_size: u16full-speed devices, max_packet_size has to be one of 8, 16, 32 or 64.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for NcmState<'a>
impl<'a> RefUnwindSafe for NcmState<'a>
impl<'a> Send for NcmState<'a>
impl<'a> Sync for NcmState<'a>
impl<'a> Unpin for NcmState<'a>
impl<'a> UnwindSafe for NcmState<'a>
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