Struct block_utils::ScsiInfo [−][src]
pub struct ScsiInfo {
pub block_device: Option<PathBuf>,
pub enclosure: Option<Enclosure>,
pub host: u8,
pub channel: u8,
pub id: u8,
pub lun: u8,
pub vendor: Vendor,
pub model: Option<String>,
pub rev: Option<String>,
pub state: Option<DeviceState>,
pub scsi_type: ScsiDeviceType,
pub scsi_revision: u32,
}Fields
block_device: Option<PathBuf>enclosure: Option<Enclosure>host: u8channel: u8id: u8lun: u8vendor: Vendormodel: Option<String>rev: Option<String>state: Option<DeviceState>scsi_type: ScsiDeviceTypescsi_revision: u32Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ScsiInfo
impl Send for ScsiInfo
impl Sync for ScsiInfo
impl Unpin for ScsiInfo
impl UnwindSafe for ScsiInfo
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more