pub enum TaskAttribute {
Untagged,
Simple,
Ordered,
HeadOfQueue,
ACA,
Reserved(u8),
}Expand description
SCSI Task Attributes for command ordering and queuing
Defines how SCSI commands should be queued and executed relative to other commands. These attributes control the ordering behavior of commands in the target’s command queue.
Variants§
Untagged
Untagged command (0) - legacy simple queuing
Simple
Simple task attribute (1) - commands may be reordered for optimization
Ordered
Ordered task attribute (2) - commands must execute in order
HeadOfQueue
Head of queue task attribute (3) - command should execute immediately
ACA
Auto Contingent Allegiance (4) - special error recovery attribute
Reserved(u8)
Reserved attribute values (5-7) - future use
Trait Implementations§
Source§impl Clone for TaskAttribute
impl Clone for TaskAttribute
Source§fn clone(&self) -> TaskAttribute
fn clone(&self) -> TaskAttribute
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 moreimpl Copy for TaskAttribute
Source§impl Debug for TaskAttribute
impl Debug for TaskAttribute
Source§impl From<RawTaskAttribute> for TaskAttribute
impl From<RawTaskAttribute> for TaskAttribute
Source§fn from(r: RawTaskAttribute) -> Self
fn from(r: RawTaskAttribute) -> Self
Converts to this type from the input type.
Source§impl From<TaskAttribute> for u8
impl From<TaskAttribute> for u8
Source§fn from(value: TaskAttribute) -> Self
fn from(value: TaskAttribute) -> Self
Converts to this type from the input type.
Source§impl From<TaskAttribute> for RawTaskAttribute
impl From<TaskAttribute> for RawTaskAttribute
Source§fn from(a: TaskAttribute) -> Self
fn from(a: TaskAttribute) -> Self
Converts to this type from the input type.
Source§impl From<u8> for TaskAttribute
impl From<u8> for TaskAttribute
Source§impl PartialEq for TaskAttribute
impl PartialEq for TaskAttribute
Source§fn eq(&self, other: &TaskAttribute) -> bool
fn eq(&self, other: &TaskAttribute) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TaskAttribute
Auto Trait Implementations§
impl Freeze for TaskAttribute
impl RefUnwindSafe for TaskAttribute
impl Send for TaskAttribute
impl Sync for TaskAttribute
impl Unpin for TaskAttribute
impl UnsafeUnpin for TaskAttribute
impl UnwindSafe for TaskAttribute
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