pub enum IoctlCmd<'a> {
CtrlSync,
GetSectorCount(&'a mut u64),
GetSectorSize(&'a mut usize),
GetBlockSize(&'a mut usize),
CtrlTrim(&'a (u64, u64)),
}
Expand description
Ioctl commands.
Variants§
CtrlSync
Complete pending write process.
GetSectorCount(&'a mut u64)
Get media size.
GetSectorSize(&'a mut usize)
Get sector size.
GetBlockSize(&'a mut usize)
Get erase block size.
CtrlTrim(&'a (u64, u64))
Inform device that the data on the block of sectors is no longer used.