pub enum DataCommandState {
Idle,
Submitted {
direction: DataCommandDirection,
cmd_index: u8,
block_size: u32,
block_count: u32,
},
}Expand description
Observable state of one protocol data command.
Variants§
Trait Implementations§
Source§impl Clone for DataCommandState
impl Clone for DataCommandState
Source§fn clone(&self) -> DataCommandState
fn clone(&self) -> DataCommandState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DataCommandState
impl Debug for DataCommandState
Source§impl Default for DataCommandState
impl Default for DataCommandState
Source§fn default() -> DataCommandState
fn default() -> DataCommandState
Returns the “default value” for a type. Read more
Source§impl PartialEq for DataCommandState
impl PartialEq for DataCommandState
Source§fn eq(&self, other: &DataCommandState) -> bool
fn eq(&self, other: &DataCommandState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DataCommandState
impl Eq for DataCommandState
impl StructuralPartialEq for DataCommandState
Auto Trait Implementations§
impl Freeze for DataCommandState
impl RefUnwindSafe for DataCommandState
impl Send for DataCommandState
impl Sync for DataCommandState
impl Unpin for DataCommandState
impl UnsafeUnpin for DataCommandState
impl UnwindSafe for DataCommandState
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