pub enum FEFR {
DROP,
FORWARD,
}
Expand description
Possible values of the field FEF
Variants§
DROP
Rx FIFO drops frames with error status
FORWARD
All frames except runt error frames are forwarded to the DMA
Implementations§
Source§impl FEFR
impl FEFR
Sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0)
Sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1)
Sourcepub fn is_forward(&self) -> bool
pub fn is_forward(&self) -> bool
Checks if the value of the field is FORWARD
Trait Implementations§
impl Copy for FEFR
impl StructuralPartialEq for FEFR
Auto Trait Implementations§
impl Freeze for FEFR
impl RefUnwindSafe for FEFR
impl Send for FEFR
impl Sync for FEFR
impl Unpin for FEFR
impl UnwindSafe for FEFR
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