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 for AllocErr
impl PartialEq for AllocErr
impl Eq for AllocErr
impl StructuralPartialEq for AllocErr
Auto Trait Implementations§
impl Freeze for AllocErr
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)