pub struct AcmState<'a> {
pub state: State<'a>,
pub max_packet_size: u16,
}
Expand description
acm state
Fields§
§state: State<'a>
§max_packet_size: u16
full-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 AcmState<'a>
impl<'a> !RefUnwindSafe for AcmState<'a>
impl<'a> !Send for AcmState<'a>
impl<'a> !Sync for AcmState<'a>
impl<'a> Unpin for AcmState<'a>
impl<'a> !UnwindSafe for AcmState<'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