pub enum Error {
InvalidArgs,
NoMemory,
PageFault,
AccessDenied,
IoError,
NotEnoughResources,
Overflow,
}Expand description
The error type which is returned from the APIs of this crate.
Variants§
InvalidArgs
Invalid arguments provided.
NoMemory
Insufficient memory available.
PageFault
Page fault occurred.
AccessDenied
Access to a resource is denied.
IoError
Input/output error.
NotEnoughResources
Insufficient system resources.
Overflow
Arithmetic Overflow occurred.
Trait Implementations§
Source§impl From<PageTableError> for Error
impl From<PageTableError> for Error
Source§fn from(_err: PageTableError) -> Error
fn from(_err: PageTableError) -> Error
Converts to this type from the input type.
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