#[repr(u32)]pub enum VmoOp {
Commit = 1,
Decommit = 2,
Lock = 3,
Unlock = 4,
CacheSync = 6,
CacheInvalidate = 7,
CacheClean = 8,
CacheCleanInvalidate = 9,
}Variants§
Commit = 1
Commit size bytes worth of pages starting at byte offset for the VMO.
Decommit = 2
Release a range of pages previously committed to the VMO from offset to offset+size.
Lock = 3
Unlock = 4
CacheSync = 6
Perform a cache sync operation.
CacheInvalidate = 7
Perform a cache invalidation operation.
CacheClean = 8
Perform a cache clean operation.
CacheCleanInvalidate = 9
Perform cache clean and invalidation operations together.
Trait Implementations§
impl Copy for VmoOp
impl Eq for VmoOp
impl StructuralPartialEq for VmoOp
Auto Trait Implementations§
impl Freeze for VmoOp
impl RefUnwindSafe for VmoOp
impl Send for VmoOp
impl Sync for VmoOp
impl Unpin for VmoOp
impl UnwindSafe for VmoOp
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