Enum kernel::ReturnCode[][src]

pub enum ReturnCode {
    SuccessWithValue {
        value: usize,
    },
    SUCCESS,
    FAIL,
    EBUSY,
    EALREADY,
    EOFF,
    ERESERVE,
    EINVAL,
    ESIZE,
    ECANCEL,
    ENOMEM,
    ENOSUPPORT,
    ENODEVICE,
    EUNINSTALLED,
    ENOACK,
}

Variants

Fields of SuccessWithValue

Trait Implementations

impl From<Error> for ReturnCode
[src]

Performs the conversion.

impl Clone for ReturnCode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ReturnCode
[src]

impl Debug for ReturnCode
[src]

Formats the value using the given formatter. Read more

impl PartialEq for ReturnCode
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<ReturnCode> for isize
[src]

Performs the conversion.

impl From<ReturnCode> for usize
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for ReturnCode

impl Sync for ReturnCode