Enum magenta::Status
[−]
[src]
#[repr(i32)]pub enum Status { NoError, ErrInternal, ErrNotSupported, ErrNoResources, ErrNoMemory, ErrCallFailed, ErrInterruptedRetry, ErrInvalidArgs, ErrBadHandle, ErrWrongType, ErrBadSyscall, ErrOutOfRange, ErrBufferTooSmall, ErrBadState, ErrTimedOut, ErrShouldWait, ErrCanceled, ErrPeerClosed, ErrNotFound, ErrAlreadyExists, ErrAlreadyBound, ErrUnavailable, ErrAccessDenied, ErrIo, ErrIoRefused, ErrIoDataIntegrity, ErrIoDataLoss, ErrBadPath, ErrNotDir, ErrNotFile, ErrFileBig, ErrNoSpace, ErrStop, ErrNext, UnknownOther, }
A status code returned from the Magenta kernel.
See errors.md in the Magenta documentation for more information about the meaning of these codes.
Variants
NoError
ErrInternal
ErrNotSupported
ErrNoResources
ErrNoMemory
ErrCallFailed
ErrInterruptedRetry
ErrInvalidArgs
ErrBadHandle
ErrWrongType
ErrBadSyscall
ErrOutOfRange
ErrBufferTooSmall
ErrBadState
ErrTimedOut
ErrShouldWait
ErrCanceled
ErrPeerClosed
ErrNotFound
ErrAlreadyExists
ErrAlreadyBound
ErrAccessDenied
ErrIo
ErrIoRefused
ErrIoDataIntegrity
ErrIoDataLoss
ErrBadPath
ErrNotDir
ErrNotFile
ErrFileBig
ErrNoSpace
ErrStop
ErrNext
UnknownOther
Any mx_status_t not in the set above will map to the following:
Methods
impl Status
[src]
fn from_raw(raw: mx_status_t) -> Self
Trait Implementations
impl Debug for Status
[src]
impl PartialEq for Status
[src]
fn eq(&self, __arg_0: &Status) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for Status
[src]
impl Clone for Status
[src]
fn clone(&self) -> Status
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more