Enum kernel::process::Error[][src]

pub enum Error {
    NoSuchApp,
    OutOfMemory,
    AddressOutOfBounds,
    InactiveApp,
    KernelError,
    AlreadyInUse,
}

Variants

NoSuchApp

The process has been removed and no longer exists. For example, the kernel could stop a process and re-claim its resources.

OutOfMemory

The process does not have enough memory to complete the requested operation.

AddressOutOfBounds

The provided memory address is not accessible or not valid for the process.

InactiveApp

The process is inactive (likely in a fault or exit state) and the attempted operation is therefore invalid.

KernelError

This likely indicates a bug in the kernel and that some state is inconsistent in the kernel.

AlreadyInUse

Indicates some process data, such as a Grant, is already borrowed.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

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

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.