pub enum MapControlCmd {
Sync(*const SyncInfo),
Discard,
Invalidate,
Update,
}
Expand description
Possible map control commands for sys_map_ctrl.
Variants§
Sync(*const SyncInfo)
Sync an entire mapping
Discard
Discard a mapping
Invalidate
Invalidate a mapping
Update
Update a mapping
Trait Implementations§
Source§impl Clone for MapControlCmd
impl Clone for MapControlCmd
Source§fn clone(&self) -> MapControlCmd
fn clone(&self) -> MapControlCmd
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MapControlCmd
impl Debug for MapControlCmd
Source§impl From<MapControlCmd> for (u64, u64)
impl From<MapControlCmd> for (u64, u64)
Source§fn from(c: MapControlCmd) -> Self
fn from(c: MapControlCmd) -> Self
Converts to this type from the input type.
impl Copy for MapControlCmd
Auto Trait Implementations§
impl Freeze for MapControlCmd
impl !ObjSafe for MapControlCmd
impl RefUnwindSafe for MapControlCmd
impl !Send for MapControlCmd
impl !Sync for MapControlCmd
impl Unpin for MapControlCmd
impl UnwindSafe for MapControlCmd
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