Enum kernel::returncode::ReturnCode
[−]
[src]
pub enum ReturnCode { SuccessWithValue { value: usize, }, SUCCESS, FAIL, EBUSY, EALREADY, EOFF, ERESERVE, EINVAL, ESIZE, ECANCEL, ENOMEM, ENOSUPPORT, ENODEVICE, EUNINSTALLED, ENOACK, }
Variants
SuccessWithValue
Fields of SuccessWithValue
value: usize |
SUCCESS
FAIL
EBUSY
EALREADY
EOFF
ERESERVE
EINVAL
ESIZE
ECANCEL
ENOMEM
ENOSUPPORT
ENODEVICE
EUNINSTALLED
ENOACK
Trait Implementations
impl Clone for ReturnCode
[src]
fn clone(&self) -> ReturnCode
[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
impl Copy for ReturnCode
[src]
impl Debug for ReturnCode
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for ReturnCode
[src]
fn eq(&self, __arg_0: &ReturnCode) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ReturnCode) -> bool
[src]
This method tests for !=
.
impl From<ReturnCode> for isize
[src]
fn from(original: ReturnCode) -> isize
[src]
Performs the conversion.
impl From<ReturnCode> for usize
[src]
fn from(original: ReturnCode) -> usize
[src]
Performs the conversion.
impl From<Error> for ReturnCode
[src]
fn from(err: Error) -> ReturnCode
[src]
Performs the conversion.