Enum stm32_eth::dma::RxRunningState
source · pub enum RxRunningState {
Unknown,
Stopped,
Running,
}
Expand description
Running state of the RxRing
Variants§
Implementations§
source§impl RunningState
impl RunningState
sourcepub fn is_running(&self) -> bool
pub fn is_running(&self) -> bool
whether self equals to RunningState::Running
Trait Implementations§
source§impl Debug for RunningState
impl Debug for RunningState
source§impl PartialEq<RunningState> for RunningState
impl PartialEq<RunningState> for RunningState
source§fn eq(&self, other: &RunningState) -> bool
fn eq(&self, other: &RunningState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RunningState
impl StructuralEq for RunningState
impl StructuralPartialEq for RunningState
Auto Trait Implementations§
impl RefUnwindSafe for RunningState
impl Send for RunningState
impl Sync for RunningState
impl Unpin for RunningState
impl UnwindSafe for RunningState
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