pub struct Errno(/* private fields */);
Implementations§
Source§impl Errno
impl Errno
pub const ENOSYS: Self
pub const EPERM: Self
pub const ENOENT: Self
pub const ESRCH: Self
pub const EINTR: Self
pub const EIO: Self
pub const ENXIO: Self
pub const E2BIG: Self
pub const ENOEXEC: Self
pub const EBADF: Self
pub const ECHILD: Self
pub const EAGAIN: Self
pub const ENOMEM: Self
pub const EACCES: Self
pub const EFAULT: Self
pub const ENOTBLK: Self
pub const EBUSY: Self
pub const EEXIST: Self
pub const EXDEV: Self
pub const ENODEV: Self
pub const ENOTDIR: Self
pub const EISDIR: Self
pub const EINVAL: Self
pub const ENFILE: Self
pub const EMFILE: Self
pub const ENOTTY: Self
pub const ETXTBSY: Self
pub const EFBIG: Self
pub const ENOSPC: Self
pub const ESPIPE: Self
pub const EROFS: Self
pub const EMLINK: Self
pub const EPIPE: Self
pub const EDOM: Self
pub const ERANGE: Self
pub const EWOULDBLOCK: Self = Self::EAGAIN
pub fn from_u64(errno: u64) -> Self
pub fn as_u64(&self) -> u64
pub fn as_i32(&self) -> i32
pub fn name(&self) -> Option<&'static str>
pub fn desc(&self) -> Option<&'static str>
Trait Implementations§
impl Eq for Errno
impl StructuralPartialEq for Errno
Auto Trait Implementations§
impl Freeze for Errno
impl RefUnwindSafe for Errno
impl Send for Errno
impl Sync for Errno
impl Unpin for Errno
impl UnwindSafe for Errno
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