Enum allocators::AllocatorError
[−]
[src]
pub enum AllocatorError {
OutOfMemory,
AllocatorSpecific(String),
}Errors that can occur while creating an allocator or allocating from it.
Variants
OutOfMemoryThe allocator failed to allocate the amount of memory requested of it.
AllocatorSpecific(String)An allocator-specific error message.
Trait Implementations
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 !=.