Enum vulkano::memory::DeviceMemoryAllocError
[−]
[src]
pub enum DeviceMemoryAllocError { OomError(OomError), TooManyObjects, MemoryMapFailed, }
Error type returned by functions related to DeviceMemory
.
Variants
OomError(OomError)
Not enough memory available.
TooManyObjects
The maximum number of allocations has been exceeded.
MemoryMapFailed
Memory map failed.
Trait Implementations
impl Copy for DeviceMemoryAllocError
[src]
impl Clone for DeviceMemoryAllocError
[src]
fn clone(&self) -> DeviceMemoryAllocError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for DeviceMemoryAllocError
[src]
impl PartialEq for DeviceMemoryAllocError
[src]
fn eq(&self, __arg_0: &DeviceMemoryAllocError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DeviceMemoryAllocError) -> bool
This method tests for !=
.
impl Eq for DeviceMemoryAllocError
[src]
impl Error for DeviceMemoryAllocError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl Display for DeviceMemoryAllocError
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl From<Error> for DeviceMemoryAllocError
[src]
fn from(err: Error) -> DeviceMemoryAllocError
Performs the conversion.
impl From<OomError> for DeviceMemoryAllocError
[src]
fn from(err: OomError) -> DeviceMemoryAllocError
Performs the conversion.