pub struct TxToken<'a, const MTU: usize> { /* private fields */ }
Expand description
A tx token.
Holds outbound transmit channel and interfaces with embassy-net-driver.
Trait Implementations§
Auto Trait Implementations§
impl<'a, const MTU: usize> Freeze for TxToken<'a, MTU>
impl<'a, const MTU: usize> !RefUnwindSafe for TxToken<'a, MTU>
impl<'a, const MTU: usize> !Send for TxToken<'a, MTU>
impl<'a, const MTU: usize> !Sync for TxToken<'a, MTU>
impl<'a, const MTU: usize> Unpin for TxToken<'a, MTU>
impl<'a, const MTU: usize> !UnwindSafe for TxToken<'a, 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