#[repr(transparent)]pub struct ScsiIoType(pub u8);
Expand description
Corresponds to the EFI_SCSI_IO_TYPE_*
defines.
Tuple Fields§
§0: u8
Implementations§
Source§impl ScsiIoType
impl ScsiIoType
pub const DISK: ScsiIoType
pub const TAPE: ScsiIoType
pub const PRINTER: ScsiIoType
pub const PROCESSOR: ScsiIoType
pub const WRITE_ONCE_READ_MULTIPLE: ScsiIoType
pub const CDROM: ScsiIoType
pub const SCANNER: ScsiIoType
pub const OPTICAL: ScsiIoType
pub const MEDIUM_CHANGER: ScsiIoType
pub const COMMUNICATION: ScsiIoType
pub const RAID: ScsiIoType
pub const ENCLOSURE_SERVICES: ScsiIoType
pub const REDUCED_BLOCK_COMMANDS: ScsiIoType
pub const OPTICAL_CARD_READER_WRITER: ScsiIoType
pub const BRIDGE_CONTROLLER: ScsiIoType
pub const OBJECT_BASED_STORAGE: ScsiIoType
pub const RESERVED_LOW: ScsiIoType
pub const RESERVED_HIGH: ScsiIoType
pub const UNKNOWN: ScsiIoType
Trait Implementations§
Source§impl Clone for ScsiIoType
impl Clone for ScsiIoType
Source§fn clone(&self) -> ScsiIoType
fn clone(&self) -> ScsiIoType
Returns a copy of the value. Read more
1.0.0 · 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 ScsiIoType
impl Debug for ScsiIoType
Source§impl Default for ScsiIoType
impl Default for ScsiIoType
Source§fn default() -> ScsiIoType
fn default() -> ScsiIoType
Returns the “default value” for a type. Read more
Source§impl Hash for ScsiIoType
impl Hash for ScsiIoType
Source§impl Ord for ScsiIoType
impl Ord for ScsiIoType
Source§fn cmp(&self, other: &ScsiIoType) -> Ordering
fn cmp(&self, other: &ScsiIoType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ScsiIoType
impl PartialEq for ScsiIoType
Source§impl PartialOrd for ScsiIoType
impl PartialOrd for ScsiIoType
impl Copy for ScsiIoType
impl Eq for ScsiIoType
impl StructuralPartialEq for ScsiIoType
Auto Trait Implementations§
impl Freeze for ScsiIoType
impl RefUnwindSafe for ScsiIoType
impl Send for ScsiIoType
impl Sync for ScsiIoType
impl Unpin for ScsiIoType
impl UnwindSafe for ScsiIoType
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