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.