pub enum TSFR {
CUTTHROUGH,
STOREFORWARD,
}
Expand description
Possible values of the field TSF
Variants§
CUTTHROUGH
Transmission starts when the frame size in the Tx FIFO exceeds TTC threshold
STOREFORWARD
Transmission starts when a full frame is in the Tx FIFO
Implementations§
Source§impl TSFR
impl TSFR
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_cut_through(&self) -> bool
pub fn is_cut_through(&self) -> bool
Checks if the value of the field is CUTTHROUGH
Sourcepub fn is_store_forward(&self) -> bool
pub fn is_store_forward(&self) -> bool
Checks if the value of the field is STOREFORWARD
Trait Implementations§
impl Copy for TSFR
impl StructuralPartialEq for TSFR
Auto Trait Implementations§
impl Freeze for TSFR
impl RefUnwindSafe for TSFR
impl Send for TSFR
impl Sync for TSFR
impl Unpin for TSFR
impl UnwindSafe for TSFR
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