Enum scoped_allocator::AllocatorError
[−]
[src]
pub enum AllocatorError { OutOfMemory, AllocatorSpecific(String), }
Errors that can occur while creating an allocator or allocating from it.
Variants
OutOfMemory
The allocator failed to allocate the amount of memory requested of it.
AllocatorSpecific(String)
An allocator-specific error message.
Trait Implementations
impl Debug for AllocatorError
[src]
impl Eq for AllocatorError
[src]
impl PartialEq for AllocatorError
[src]
fn eq(&self, __arg_0: &AllocatorError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AllocatorError) -> bool
This method tests for !=
.
impl Display for AllocatorError
[src]
fn fmt(&self, formatter: &mut Formatter) -> Result
Formats the value using the given formatter. Read more