#[repr(u32)]pub enum MapError {
Other = 1,
OutOfResources = 2,
NoSuchObject = 3,
PermissionDenied = 4,
InvalidArgument = 5,
}
Expand description
Possible errors for mapping objects.
Variants§
Other = 1
Unclassified error.
OutOfResources = 2
Out of resources (e.g. mapping slots)
NoSuchObject = 3
Specified object was not found
PermissionDenied = 4
Permission denied
InvalidArgument = 5
An argument to map was invalid
Trait Implementations§
impl Copy for MapError
impl Eq for MapError
impl StructuralPartialEq for MapError
Auto Trait Implementations§
impl Freeze for MapError
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
)