Enum fuchsia_zircon::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, // some variants omitted }
A status code returned from the Zircon kernel.
See errors.md in the Zircon 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 zx_status_t not in the set above will map to the following:
Methods
impl Status
[src]
fn from_raw(raw: zx_status_t) -> Self
[src]
fn into_io_err(self) -> Error
[src]
Trait Implementations
impl Debug for Status
[src]
impl PartialEq for Status
[src]
fn eq(&self, __arg_0: &Status) -> bool
[src]
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[src]
This method tests for !=
.
impl Eq for Status
[src]
impl Clone for Status
[src]
fn clone(&self) -> Status
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more