#[repr(u16)]pub enum ErrorStatus {
Show 23 variants
Generic = 1,
OperationNotSupported = 2,
NotSupported = 3,
Corrupted = 4,
InvaildSyscall = 5,
InvaildResource = 6,
InvaildPid = 7,
InvaildOffset = 8,
InvaildPtr = 9,
InvaildStr = 10,
StrTooLong = 11,
InvaildPath = 12,
NoSuchAFileOrDirectory = 13,
NotAFile = 14,
NotADirectory = 15,
AlreadyExists = 16,
NotExecutable = 17,
DirectoryNotEmpty = 18,
MissingPermissions = 19,
MMapError = 20,
Busy = 21,
NotEnoughArguments = 22,
OutOfMemory = 23,
}Variants§
Generic = 1
OperationNotSupported = 2
NotSupported = 3
Corrupted = 4
InvaildSyscall = 5
InvaildResource = 6
InvaildPid = 7
InvaildOffset = 8
InvaildPtr = 9
InvaildStr = 10
StrTooLong = 11
InvaildPath = 12
NoSuchAFileOrDirectory = 13
NotAFile = 14
NotADirectory = 15
AlreadyExists = 16
NotExecutable = 17
DirectoryNotEmpty = 18
MissingPermissions = 19
MMapError = 20
Busy = 21
NotEnoughArguments = 22
OutOfMemory = 23
Implementations§
Trait Implementations§
Source§impl Clone for ErrorStatus
impl Clone for ErrorStatus
Source§fn clone(&self) -> ErrorStatus
fn clone(&self) -> ErrorStatus
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ErrorStatus
impl Debug for ErrorStatus
Source§impl From<ErrorStatus> for SysResult
impl From<ErrorStatus> for SysResult
Source§fn from(value: ErrorStatus) -> SysResult
fn from(value: ErrorStatus) -> SysResult
Converts to this type from the input type.
Source§impl<T> From<T> for ErrorStatuswhere
T: IntoErr,
impl<T> From<T> for ErrorStatuswhere
T: IntoErr,
Source§fn from(value: T) -> ErrorStatus
fn from(value: T) -> ErrorStatus
Converts to this type from the input type.
Source§impl PartialEq for ErrorStatus
impl PartialEq for ErrorStatus
Source§impl TryFrom<u16> for ErrorStatus
impl TryFrom<u16> for ErrorStatus
impl Copy for ErrorStatus
impl Eq for ErrorStatus
impl StructuralPartialEq for ErrorStatus
Auto Trait Implementations§
impl Freeze for ErrorStatus
impl RefUnwindSafe for ErrorStatus
impl Send for ErrorStatus
impl Sync for ErrorStatus
impl Unpin for ErrorStatus
impl UnwindSafe for ErrorStatus
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