Enum sgx_tstd::collections::CollectionAllocErr[][src]

pub enum CollectionAllocErr {
    CapacityOverflow,
    AllocErr,
}
🔬 This is a nightly-only experimental API. (try_reserve)

new API

Augments AllocErr with a CapacityOverflow variant.

Variants

🔬 This is a nightly-only experimental API. (try_reserve)

new API

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

🔬 This is a nightly-only experimental API. (try_reserve)

new API

Error due to the allocator (see the AllocErr type's docs).

Trait Implementations

impl Debug for CollectionAllocErr
[src]

Formats the value using the given formatter. Read more

impl Clone for CollectionAllocErr
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl From<LayoutErr> for CollectionAllocErr
[src]

Performs the conversion.

impl From<AllocErr> for CollectionAllocErr
[src]

Performs the conversion.

impl PartialEq<CollectionAllocErr> for CollectionAllocErr
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for CollectionAllocErr
[src]

Auto Trait Implementations

impl Send for CollectionAllocErr

impl Sync for CollectionAllocErr