pub enum IoctlCmd<'a> {
CtrlSync,
GetSectorCount(&'a mut Lba),
GetSectorSize(&'a mut SectorSize),
GetBlockSize(&'a mut BlockSize),
CtrlTrim(&'a DataArea),
}
Expand description
Ioctl commands.
Variants§
CtrlSync
Complete pending write process.
GetSectorCount(&'a mut Lba)
Get media size.
GetSectorSize(&'a mut SectorSize)
Get sector size.
GetBlockSize(&'a mut BlockSize)
Get erase block size.
CtrlTrim(&'a DataArea)
Inform device that the data on the block of sectors is no longer used.
Auto Trait Implementations§
impl<'a> Freeze for IoctlCmd<'a>
impl<'a> RefUnwindSafe for IoctlCmd<'a>
impl<'a> Send for IoctlCmd<'a>
impl<'a> Sync for IoctlCmd<'a>
impl<'a> Unpin for IoctlCmd<'a>
impl<'a> !UnwindSafe for IoctlCmd<'a>
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