pub enum SlabAllocationError {
SoftLimitReached,
System(Error),
}Expand description
A failure while allocating an exception slab.
Variants§
SoftLimitReached
The context already owns its configured number of userspace slabs.
System(Error)
The operating system rejected or malformed the slab mapping.
Trait Implementations§
Source§impl Debug for SlabAllocationError
impl Debug for SlabAllocationError
Source§impl Display for SlabAllocationError
impl Display for SlabAllocationError
Source§impl Error for SlabAllocationError
impl Error for SlabAllocationError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Auto Trait Implementations§
impl !RefUnwindSafe for SlabAllocationError
impl !UnwindSafe for SlabAllocationError
impl Freeze for SlabAllocationError
impl Send for SlabAllocationError
impl Sync for SlabAllocationError
impl Unpin for SlabAllocationError
impl UnsafeUnpin for SlabAllocationError
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