#[repr(C)]pub enum Operation {
Read {
device_block_offset: u64,
block_count: u32,
_unused: u32,
vmo_offset: u64,
},
Write {
device_block_offset: u64,
block_count: u32,
options: WriteOptions,
vmo_offset: u64,
},
Flush,
Trim {
device_block_offset: u64,
block_count: u32,
},
CloseVmo,
}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Operation
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnwindSafe for Operation
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