pub struct AllocErr;
Expand description
The AllocErr
error indicates an allocation failure
that may be due to resource exhaustion or to
something wrong when combining the given input arguments with this
allocator.
Trait Implementations§
source§impl<E> From<AllocErr> for AllocOrInitError<E>
impl<E> From<AllocErr> for AllocOrInitError<E>
source§impl PartialEq<AllocErr> for AllocErr
impl PartialEq<AllocErr> for AllocErr
impl Eq for AllocErr
impl StructuralEq for AllocErr
impl StructuralPartialEq for AllocErr
Auto Trait Implementations§
impl RefUnwindSafe for AllocErr
impl Send for AllocErr
impl Sync for AllocErr
impl Unpin for AllocErr
impl UnwindSafe for AllocErr
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