pub enum AllocError {
OOM,
AllocOverflow,
LayoutError,
}
Variants§
Trait Implementations§
Source§impl Debug for AllocError
impl Debug for AllocError
Source§impl From<LayoutError> for AllocError
impl From<LayoutError> for AllocError
Source§fn from(_: LayoutError) -> Self
fn from(_: LayoutError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AllocError
impl RefUnwindSafe for AllocError
impl Send for AllocError
impl Sync for AllocError
impl Unpin for AllocError
impl UnwindSafe for AllocError
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