pub enum Mapping {
Unregister {
cause: Errno,
},
Length {
element: Bytes,
count: Count,
},
Alignment {
element: Bytes,
supported: Bytes,
},
Syscall {
operation: IoOperation,
bytes: Bytes,
cause: Kernel,
},
Ring {
operation: IoOperation,
region: Region,
bytes: Bytes,
cause: Kernel,
},
Unmap {
operation: IoOperation,
address: Address,
bytes: Bytes,
cause: Kernel,
},
Null {
operation: IoOperation,
bytes: Bytes,
},
RingNull {
operation: IoOperation,
region: Region,
bytes: Bytes,
},
}Variants§
Trait Implementations§
impl Copy for Mapping
impl Eq for Mapping
Source§impl<R> From<(R, !)> for Mapping
impl<R> From<(R, !)> for Mapping
Source§fn from((_, empty): (R, Infallible)) -> Self
fn from((_, empty): (R, Infallible)) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Mapping
Auto Trait Implementations§
impl !Send for Mapping
impl !Sync for Mapping
impl Forget for Mapping
impl Freeze for Mapping
impl RefUnwindSafe for Mapping
impl Unpin for Mapping
impl UnsafeUnpin for Mapping
impl UnwindSafe for Mapping
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