Enum block_utils::ScsiDeviceType
source · [−]pub enum ScsiDeviceType {
Show 32 variants
DirectAccess,
SequentialAccess,
Printer,
Processor,
WriteOnce,
CdRom,
Scanner,
Opticalmemory,
MediumChanger,
Communications,
Unknowna,
Unknownb,
StorageArray,
Enclosure,
SimplifiedDirectAccess,
OpticalCardReadWriter,
BridgeController,
ObjectBasedStorage,
AutomationDriveInterface,
SecurityManager,
ZonedBlock,
Reserved15,
Reserved16,
Reserved17,
Reserved18,
Reserved19,
Reserved1a,
Reserved1b,
Reserved1c,
Reserved1e,
WellKnownLu,
NoDevice,
}Variants
DirectAccess
SequentialAccess
Printer
Processor
WriteOnce
CdRom
Scanner
Opticalmemory
MediumChanger
Communications
Unknowna
Unknownb
StorageArray
Enclosure
SimplifiedDirectAccess
OpticalCardReadWriter
BridgeController
ObjectBasedStorage
AutomationDriveInterface
SecurityManager
ZonedBlock
Reserved15
Reserved16
Reserved17
Reserved18
Reserved19
Reserved1a
Reserved1b
Reserved1c
Reserved1e
WellKnownLu
NoDevice
Trait Implementations
sourceimpl Clone for ScsiDeviceType
impl Clone for ScsiDeviceType
sourcefn clone(&self) -> ScsiDeviceType
fn clone(&self) -> ScsiDeviceType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ScsiDeviceType
impl Debug for ScsiDeviceType
sourceimpl FromStr for ScsiDeviceType
impl FromStr for ScsiDeviceType
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
sourceimpl PartialEq<ScsiDeviceType> for ScsiDeviceType
impl PartialEq<ScsiDeviceType> for ScsiDeviceType
sourceimpl TryFrom<&'_ str> for ScsiDeviceType
impl TryFrom<&'_ str> for ScsiDeviceType
type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
impl Copy for ScsiDeviceType
impl StructuralPartialEq for ScsiDeviceType
Auto Trait Implementations
impl RefUnwindSafe for ScsiDeviceType
impl Send for ScsiDeviceType
impl Sync for ScsiDeviceType
impl Unpin for ScsiDeviceType
impl UnwindSafe for ScsiDeviceType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more