Struct embassy_usb::class::cdc_ncm::embassy_net::Runner
source · pub struct Runner<'d, D: Driver<'d>, const MTU: usize> { /* private fields */ }
Expand description
Background runner for the CDC-NCM class.
You must call .run()
in a background task for the class to operate.
Implementations§
Auto Trait Implementations§
impl<'d, D, const MTU: usize> Freeze for Runner<'d, D, MTU>
impl<'d, D, const MTU: usize> !RefUnwindSafe for Runner<'d, D, MTU>
impl<'d, D, const MTU: usize> !Send for Runner<'d, D, MTU>
impl<'d, D, const MTU: usize> !Sync for Runner<'d, D, MTU>
impl<'d, D, const MTU: usize> Unpin for Runner<'d, D, MTU>
impl<'d, D, const MTU: usize> !UnwindSafe for Runner<'d, D, MTU>
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