[][src]Enum hashbrown_tstd::CollectionAllocErr

pub enum CollectionAllocErr {
    AllocErr {
        layout: Layout,

Augments AllocErr with a CapacityOverflow variant.



Error due to the computed capacity exceeding the collection's maximum (usually isize::MAX bytes).


Error due to the allocator.

Fields of AllocErr

layout: Layout

The layout of the allocation request that failed.

Trait Implementations

impl Clone for CollectionAllocErr[src]

impl Debug for CollectionAllocErr[src]

impl Eq for CollectionAllocErr[src]

impl PartialEq<CollectionAllocErr> for CollectionAllocErr[src]

impl StructuralEq for CollectionAllocErr[src]

impl StructuralPartialEq for CollectionAllocErr[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.