pub enum Error {
NoSuchApp,
OutOfMemory,
AddressOutOfBounds,
InactiveApp,
KernelError,
AlreadyInUse,
}
Expand description
Error types related to processes.
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§
source§impl From<Error> for CommandReturn
impl From<Error> for CommandReturn
source§impl PartialEq for Error
impl PartialEq for Error
impl Copy for Error
impl Eq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)