Enum kernel::maple_tree::AllocErrorKind
source · pub enum AllocErrorKind {
Busy,
AllocError(AllocError),
InvalidRequest,
}Expand description
The reason for the failure to insert.
Variants§
Busy
There is not enough space for the requested allocation.
AllocError(AllocError)
Failure to allocate memory.
InvalidRequest
The insertion request was invalid.
Trait Implementations§
source§impl Clone for AllocErrorKind
impl Clone for AllocErrorKind
source§fn clone(&self) -> AllocErrorKind
fn clone(&self) -> AllocErrorKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl From<AllocErrorKind> for Error
impl From<AllocErrorKind> for Error
source§fn from(kind: AllocErrorKind) -> Error
fn from(kind: AllocErrorKind) -> Error
Converts to this type from the input type.
source§impl PartialEq for AllocErrorKind
impl PartialEq for AllocErrorKind
source§fn eq(&self, other: &AllocErrorKind) -> bool
fn eq(&self, other: &AllocErrorKind) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for AllocErrorKind
impl Eq for AllocErrorKind
impl StructuralPartialEq for AllocErrorKind
Auto Trait Implementations§
impl Freeze for AllocErrorKind
impl RefUnwindSafe for AllocErrorKind
impl Send for AllocErrorKind
impl Sync for AllocErrorKind
impl Unpin for AllocErrorKind
impl UnwindSafe for AllocErrorKind
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> PinInit<T> for T
impl<T> PinInit<T> for T
source§unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
Initializes
slot. Read more