Struct std::alloc::AllocErr [−][src]
pub struct AllocErr;
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
impl Debug for AllocErr
[src]
impl Debug for AllocErr
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl From<AllocErr> for CollectionAllocErr
[src]
impl From<AllocErr> for CollectionAllocErr
fn from(AllocErr) -> CollectionAllocErr
[src]
fn from(AllocErr) -> CollectionAllocErr
Performs the conversion.
impl Clone for AllocErr
[src]
impl Clone for AllocErr
fn clone(&self) -> AllocErr
[src]
fn clone(&self) -> AllocErr
Returns 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 Eq for AllocErr
[src]
impl Eq for AllocErr
impl PartialEq<AllocErr> for AllocErr
[src]
impl PartialEq<AllocErr> for AllocErr
fn eq(&self, other: &AllocErr) -> bool
[src]
fn eq(&self, other: &AllocErr) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Display for AllocErr
[src]
impl Display for AllocErr
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Error for AllocErr
[src]
impl Error for AllocErr