Struct block_utils::ScsiInfo
source · 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: u8
channel: u8
id: u8
lun: u8
vendor: Vendor
model: Option<String>
rev: Option<String>
state: Option<DeviceState>
scsi_type: ScsiDeviceType
scsi_revision: u32
Trait 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more