W3cubDocs

/Rust

Struct std::alloc::AllocErr

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

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 Clone for AllocErr[src]

impl Copy for AllocErr[src]

impl Debug for AllocErr[src]

impl Display for AllocErr[src]

impl Eq for AllocErr[src]

impl Error for AllocErr[src]

impl PartialEq<AllocErr> for AllocErr[src]

impl StructuralEq for AllocErr[src]

impl StructuralPartialEq for AllocErr[src]

Auto Trait Implementations

impl RefUnwindSafe for AllocErr

impl Send for AllocErr

impl Sync for AllocErr

impl Unpin for AllocErr

impl UnwindSafe for AllocErr

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone, 
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/alloc/struct.AllocErr.html