pub struct State<const MTU: usize, const N_RX: usize, const N_TX: usize> { /* private fields */ }
Expand description
Channel state.
Holds a buffer of packets with size MTU, for both TX and RX.
Implementations§
Auto Trait Implementations§
impl<const MTU: usize, const N_RX: usize, const N_TX: usize> !Freeze for State<MTU, N_RX, N_TX>
impl<const MTU: usize, const N_RX: usize, const N_TX: usize> !RefUnwindSafe for State<MTU, N_RX, N_TX>
impl<const MTU: usize, const N_RX: usize, const N_TX: usize> !Send for State<MTU, N_RX, N_TX>
impl<const MTU: usize, const N_RX: usize, const N_TX: usize> !Sync for State<MTU, N_RX, N_TX>
impl<const MTU: usize, const N_RX: usize, const N_TX: usize> Unpin for State<MTU, N_RX, N_TX>
impl<const MTU: usize, const N_RX: usize, const N_TX: usize> !UnwindSafe for State<MTU, N_RX, N_TX>
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