pub enum AllocError {
InvalidAlignment,
AlignedSizeTooBig,
UnsupportedAlignment,
UnsupportedSize,
NotEnoughMemory,
OperationFailed,
UnsupportedOperation,
}Variants§
InvalidAlignment
AlignedSizeTooBig
UnsupportedAlignment
UnsupportedSize
NotEnoughMemory
OperationFailed
UnsupportedOperation
Implementations§
Trait Implementations§
Source§impl Debug for AllocError
impl Debug for AllocError
Source§impl Display for AllocError
impl Display for AllocError
Source§impl<T> From<(AllocError, T)> for AllocError
impl<T> From<(AllocError, T)> for AllocError
Source§fn from(src: (AllocError, T)) -> Self
fn from(src: (AllocError, T)) -> Self
Converts to this type from the input type.
Source§impl From<AllocError> for Error
impl From<AllocError> for Error
Source§fn from(_e: AllocError) -> Self
fn from(_e: AllocError) -> Self
Converts to this type from the input type.
Source§impl<'a> From<AllocError> for ParseError<'a>
impl<'a> From<AllocError> for ParseError<'a>
Source§fn from(e: AllocError) -> Self
fn from(e: AllocError) -> Self
Converts to this type from the input type.
Source§impl From<AllocError> for Error<'_>
impl From<AllocError> for Error<'_>
Source§fn from(e: AllocError) -> Self
fn from(e: AllocError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AllocError
impl PartialEq for AllocError
impl StructuralPartialEq for AllocError
Auto Trait Implementations§
impl Freeze for AllocError
impl RefUnwindSafe for AllocError
impl Send for AllocError
impl Sync for AllocError
impl Unpin for AllocError
impl UnsafeUnpin 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