pub struct DiskConfig {
pub file: Box<dyn DiskFile>,
pub block_size: u32,
pub read_only: bool,
}Expand description
Configuration of each SCSI device.
Fields§
§file: Box<dyn DiskFile>The disk file of the device.
block_size: u32The block size of the SCSI disk.
read_only: boolIndicates whether the SCSI disk is read only.
Auto Trait Implementations§
impl Freeze for DiskConfig
impl !RefUnwindSafe for DiskConfig
impl Send for DiskConfig
impl !Sync for DiskConfig
impl Unpin for DiskConfig
impl !UnwindSafe for DiskConfig
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