pub enum FifoState {
Full,
Empty,
Occupied,
}
Expand description
The possible states of a FIFO.
Variants§
Full
Represent the state of a FIFO when it is full.
Empty
Represent the state of a FIFO when it is empty.
Occupied
Represent the state of a FIFO when it is not full but not empty either.
Trait Implementations§
impl Copy for FifoState
impl StructuralPartialEq for FifoState
Auto Trait Implementations§
impl Freeze for FifoState
impl RefUnwindSafe for FifoState
impl Send for FifoState
impl Sync for FifoState
impl Unpin for FifoState
impl UnwindSafe for FifoState
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