pub enum Map<E> {
Syscall {
region: Region,
len: NonZero<usize>,
code: E,
},
Null {
region: Region,
len: NonZero<usize>,
},
}Expand description
Mapping rejection retaining its exact region, extent, and operation error.
Variants§
Trait Implementations§
impl<E: Copy> Copy for Map<E>
impl<E: Eq> Eq for Map<E>
impl<E: PartialEq> StructuralPartialEq for Map<E>
Auto Trait Implementations§
impl<E> Freeze for Map<E>where
E: Freeze,
impl<E> RefUnwindSafe for Map<E>where
E: RefUnwindSafe,
impl<E> Send for Map<E>where
E: Send,
impl<E> Sync for Map<E>where
E: Sync,
impl<E> Unpin for Map<E>where
E: Unpin,
impl<E> UnsafeUnpin for Map<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for Map<E>where
E: UnwindSafe,
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