pub struct RxRing<'a> { /* private fields */ }
Expand description
Rx DMA state
Implementations§
Source§impl<'a> RxRing<'a>
impl<'a> RxRing<'a>
Sourcepub fn running_state(&self) -> RunningState
pub fn running_state(&self) -> RunningState
Get current RunningState
Sourcepub fn next_entry_available(&self) -> bool
pub fn next_entry_available(&self) -> bool
Check if we can receive a new packet
Auto Trait Implementations§
impl<'a> Freeze for RxRing<'a>
impl<'a> RefUnwindSafe for RxRing<'a>
impl<'a> Send for RxRing<'a>
impl<'a> Sync for RxRing<'a>
impl<'a> Unpin for RxRing<'a>
impl<'a> !UnwindSafe for RxRing<'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