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

Fields of SuccessWithValue

Trait Implementations

impl Clone for ReturnCode
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for ReturnCode
[src]

impl Debug for ReturnCode
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for ReturnCode
[src]

[src]

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

[src]

This method tests for !=.

impl From<ReturnCode> for isize
[src]

[src]

Performs the conversion.

impl From<ReturnCode> for usize
[src]

[src]

Performs the conversion.

impl From<Error> for ReturnCode
[src]

[src]

Performs the conversion.