Enum scoped_allocator::AllocatorError [] [src]

pub enum AllocatorError {
    OutOfMemory,
    AllocatorSpecific(String),
}

Errors that can occur while creating an allocator or allocating from it.

Variants

The allocator failed to allocate the amount of memory requested of it.

An allocator-specific error message.

Trait Implementations

impl Debug for AllocatorError
[src]

Formats the value using the given formatter.

impl Eq for AllocatorError
[src]

impl PartialEq for AllocatorError
[src]

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

This method tests for !=.

impl Display for AllocatorError
[src]

Formats the value using the given formatter. Read more

impl Error for AllocatorError
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more