Enum twizzler_runtime_api::MapError
source · pub enum MapError {
Other,
InternalError,
OutOfResources,
NoSuchObject,
PermissionDenied,
InvalidArgument,
}
Expand description
Possible errors of mapping an object.
Variants§
Other
Error is unclassified.
InternalError
An internal runtime error occurred.
OutOfResources
Ran out of resources when trying to map the object.
NoSuchObject
The specified object does not exist.
PermissionDenied
Access is disallowed.
InvalidArgument
An argument to map is invalid.
Trait Implementations§
source§impl Error for MapError
impl Error for MapError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl Ord for MapError
impl Ord for MapError
source§impl PartialEq<MapError> for MapError
impl PartialEq<MapError> for MapError
source§impl PartialOrd<MapError> for MapError
impl PartialOrd<MapError> for MapError
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for MapError
impl Eq for MapError
impl StructuralEq for MapError
impl StructuralPartialEq for MapError
Auto Trait Implementations§
impl RefUnwindSafe for MapError
impl Send for MapError
impl Sync for MapError
impl Unpin for MapError
impl UnwindSafe for MapError
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