Struct core::alloc::AllocErr [−][src]
pub struct AllocErr;
🔬 This is a nightly-only experimental API. (allocator_api #32838)
the precise API and guarantees it provides may be tweaked slightly, especially to possibly take into account the types being stored to make room for a future tracing garbage collector
The AllocErr error specifies whether an allocation failure is
specifically due to resource exhaustion or if it is due to
something wrong when combining the given input arguments with this
allocator.
Trait Implementations
impl Clone for AllocErr[src]
impl Clone for AllocErrfn clone(&self) -> AllocErr[src]
fn clone(&self) -> AllocErrReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for AllocErr[src]
impl PartialEq for AllocErrfn eq(&self, other: &AllocErr) -> bool[src]
fn eq(&self, other: &AllocErr) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for AllocErr[src]
impl Eq for AllocErrimpl Debug for AllocErr[src]
impl Debug for AllocErrfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Display for AllocErr[src]
impl Display for AllocErrfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<AllocErr> for CollectionAllocErr[src]
impl From<AllocErr> for CollectionAllocErr