pub enum Storage<E> {
Ring(Failure<E>),
Buffer(Error),
Unregister(Errno<Unregister>),
}Expand description
Current mapping failure without erasing its native region or buffer extent.
Variants§
Trait Implementations§
impl<E: Eq> Eq for Storage<E>
Source§impl<E> From<!> for Storage<E>
impl<E> From<!> for Storage<E>
Source§fn from(value: Infallible) -> Self
fn from(value: Infallible) -> Self
Converts to this type from the input type.
Source§impl<E> From<Errno<Unregister>> for Storage<E>
impl<E> From<Errno<Unregister>> for Storage<E>
Source§fn from(cause: Errno<Unregister>) -> Self
fn from(cause: Errno<Unregister>) -> Self
Converts to this type from the input type.
impl<E: PartialEq> StructuralPartialEq for Storage<E>
Auto Trait Implementations§
impl<E> !Send for Storage<E>
impl<E> !Sync for Storage<E>
impl<E> Forget for Storage<E>
impl<E> Freeze for Storage<E>
impl<E> RefUnwindSafe for Storage<E>where
Failure<E>: RefUnwindSafe,
impl<E> Unpin for Storage<E>
impl<E> UnsafeUnpin for Storage<E>where
Failure<E>: UnsafeUnpin,
impl<E> UnwindSafe for Storage<E>where
Failure<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