pub struct Errno<O>(/* private fields */);Expand description
Exact value observed in the thread-local errno slot after a rejected syscall.
Implementations§
Trait Implementations§
impl<O: Copy> Copy for Errno<O>
impl<O: Eq> Eq for Errno<O>
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<O: PartialEq> StructuralPartialEq for Errno<O>
Auto Trait Implementations§
impl<O> Freeze for Errno<O>
impl<O> RefUnwindSafe for Errno<O>
impl<O> Send for Errno<O>
impl<O> Sync for Errno<O>
impl<O> Unpin for Errno<O>
impl<O> UnsafeUnpin for Errno<O>
impl<O> UnwindSafe for Errno<O>
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