Struct alloc::alloc::AllocError[][src]

pub struct AllocError;
🔬 This is a nightly-only experimental API. (allocator_api #32838)

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[src]

impl Debug for AllocError[src]

impl Display for AllocError[src]

impl PartialEq<AllocError> for AllocError[src]

impl Copy for AllocError[src]

impl Eq for AllocError[src]

impl StructuralEq for AllocError[src]

impl StructuralPartialEq for AllocError[src]

Auto Trait Implementations

impl Send for AllocError

impl Sync for AllocError

impl Unpin for AllocError

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> ToString for T where
    T: Display + ?Sized

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.