Struct core::alloc::AllocError
source · [−]pub struct AllocError;Expand description
The AllocError 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
impl Clone for AllocError
source
impl Clone for AllocError
sourcefn clone(&self) -> AllocError
source
fn clone(&self) -> AllocError
sourceReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0 · source
fn clone_from(&mut self, source: &Self)
1.0.0 · sourcePerforms copy-assignment from source. Read more
impl Debug for AllocError
source
impl Debug for AllocError
sourceimpl Display for AllocError
source
impl Display for AllocError
sourceimpl PartialEq<AllocError> for AllocError
source
impl PartialEq<AllocError> for AllocError
sourceimpl Copy for AllocError
sourceimpl Eq for AllocError
sourceimpl StructuralEq for AllocError
sourceimpl StructuralPartialEq for AllocError
sourceAuto Trait Implementations
impl RefUnwindSafe for AllocError
impl Send for AllocError
impl Sync for AllocError
impl Unpin for AllocError
impl UnwindSafe for AllocError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
source
impl<T> BorrowMut<T> for T where
T: ?Sized,
sourcefn borrow_mut(&mut self) -> &mut T
const: unstable · source
fn borrow_mut(&mut self) -> &mut T
const: unstable · sourceMutably borrows from an owned value. Read more