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 From<DeviceMemoryAllocError> for ImageCreationError
[src]
impl From<DeviceMemoryAllocError> for ImageCreationError
fn from(err: DeviceMemoryAllocError) -> ImageCreationError
[src]
fn from(err: DeviceMemoryAllocError) -> ImageCreationError
Performs the conversion.
impl Copy for DeviceMemoryAllocError
[src]
impl Copy for DeviceMemoryAllocError
impl Clone for DeviceMemoryAllocError
[src]
impl Clone for DeviceMemoryAllocError
fn clone(&self) -> DeviceMemoryAllocError
[src]
fn clone(&self) -> DeviceMemoryAllocError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for DeviceMemoryAllocError
[src]
impl Debug for DeviceMemoryAllocError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for DeviceMemoryAllocError
[src]
impl PartialEq for DeviceMemoryAllocError
fn eq(&self, other: &DeviceMemoryAllocError) -> bool
[src]
fn eq(&self, other: &DeviceMemoryAllocError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &DeviceMemoryAllocError) -> bool
[src]
fn ne(&self, other: &DeviceMemoryAllocError) -> bool
This method tests for !=
.
impl Eq for DeviceMemoryAllocError
[src]
impl Eq for DeviceMemoryAllocError
impl Error for DeviceMemoryAllocError
[src]
impl Error for DeviceMemoryAllocError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl Display for DeviceMemoryAllocError
[src]
impl Display for DeviceMemoryAllocError
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl From<OomError> for DeviceMemoryAllocError
[src]
impl From<OomError> for DeviceMemoryAllocError
fn from(err: OomError) -> DeviceMemoryAllocError
[src]
fn from(err: OomError) -> DeviceMemoryAllocError
Performs the conversion.
Auto Trait Implementations
impl Send for DeviceMemoryAllocError
impl Send for DeviceMemoryAllocError
impl Sync for DeviceMemoryAllocError
impl Sync for DeviceMemoryAllocError