Enum mlx_ethernet::command_queue::CmdState
source · pub enum CmdState {
Initialized,
Posted,
Completed,
}
Expand description
The possible states a command can be in as it is updated by the driver and then posted to the HCA
Variants§
Initialized
Command entries have been filled, but it is still owned by SW
Posted
The command has been issued to the HW by ringing the doorbell in the InitializationSegment
Completed
The command has been processed by HW and output is ready to be retrieved.
Trait Implementations§
source§impl PartialEq<CmdState> for CmdState
impl PartialEq<CmdState> for CmdState
impl ConstParamTy for CmdState
impl Eq for CmdState
impl StructuralEq for CmdState
impl StructuralPartialEq for CmdState
Auto Trait Implementations§
impl RefUnwindSafe for CmdState
impl Send for CmdState
impl Sync for CmdState
impl Unpin for CmdState
impl UnwindSafe for CmdState
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