Enum alloc::collections::CollectionAllocErr [−][src]
pub enum CollectionAllocErr {
CapacityOverflow,
AllocErr,
}🔬 This is a nightly-only experimental API. (try_reserve #48043)
new API
Augments AllocErr with a CapacityOverflow variant.
Variants
CapacityOverflow🔬 This is a nightly-only experimental API. (try_reserve #48043)
new API
Error due to the computed capacity exceeding the collection's maximum
(usually isize::MAX bytes).
AllocErr🔬 This is a nightly-only experimental API. (try_reserve #48043)
new API
Error due to the allocator (see the AllocErr type's docs).
Trait Implementations
impl Clone for CollectionAllocErr[src]
impl Clone for CollectionAllocErrfn clone(&self) -> CollectionAllocErr[src]
fn clone(&self) -> CollectionAllocErrReturns 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 CollectionAllocErr[src]
impl PartialEq for CollectionAllocErrfn eq(&self, other: &CollectionAllocErr) -> bool[src]
fn eq(&self, other: &CollectionAllocErr) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for CollectionAllocErr[src]
impl Eq for CollectionAllocErrimpl Debug for CollectionAllocErr[src]
impl Debug for CollectionAllocErrfn 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 CollectionAllocErrimpl From<LayoutErr> for CollectionAllocErr[src]
impl From<LayoutErr> for CollectionAllocErrAuto Trait Implementations
impl Send for CollectionAllocErr
impl Send for CollectionAllocErrimpl Sync for CollectionAllocErr
impl Sync for CollectionAllocErr