struct LogicalUnit {
last_lba: u64,
block_size: u32,
read_only: bool,
disk_image: Box<dyn DiskFile>,
}Expand description
Describes each SCSI logical unit.
Fields§
§last_lba: u64The logical block address of the last logical block on the target device.
block_size: u32Block size of the target device.
read_only: bool§disk_image: Box<dyn DiskFile>Implementations§
Source§impl LogicalUnit
impl LogicalUnit
fn make_async(self, ex: &Executor) -> Result<AsyncLogicalUnit>
Auto Trait Implementations§
impl Freeze for LogicalUnit
impl !RefUnwindSafe for LogicalUnit
impl Send for LogicalUnit
impl !Sync for LogicalUnit
impl Unpin for LogicalUnit
impl !UnwindSafe for LogicalUnit
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