Enum bern_kernel::alloc::allocator::AllocError
source · [−]pub enum AllocError {
OutOfMemory,
WrongAlignment,
Other,
}
Variants
OutOfMemory
WrongAlignment
Other
Trait Implementations
sourceimpl Debug for AllocError
impl Debug for AllocError
sourceimpl PartialEq<AllocError> for AllocError
impl PartialEq<AllocError> for AllocError
impl Eq for AllocError
impl StructuralEq for AllocError
impl StructuralPartialEq for AllocError
Auto Trait Implementations
impl RefUnwindSafe for AllocError
impl Send for AllocError
impl Sync for AllocError
impl Unpin for AllocError
impl UnwindSafe for AllocError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more