Enum vulkano::memory::DeviceMemoryAllocError[][src]

pub enum DeviceMemoryAllocError {
    OomError(OomError),
    TooManyObjects,
    MemoryMapFailed,
    MemoryIndexInvalid,
    StructureTypeAlreadyPresent,
    SpecViolation(u32),
    ImplicitSpecViolation(&'static str),
    MissingExtension(&'static str),
    InvalidSize,
}

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.

MemoryIndexInvalid

Invalid Memory Index

StructureTypeAlreadyPresent

Invalid Structure Type

SpecViolation(u32)

Spec violation, containing the Valid Usage ID (VUID) from the Vulkan spec.

ImplicitSpecViolation(&'static str)

An implicit violation that’s convered in the Vulkan spec.

MissingExtension(&'static str)

An extension is missing.

InvalidSize

Invalid Size

Trait Implementations

impl Clone for DeviceMemoryAllocError[src]

impl Copy for DeviceMemoryAllocError[src]

impl Debug for DeviceMemoryAllocError[src]

impl Display for DeviceMemoryAllocError[src]

impl Eq for DeviceMemoryAllocError[src]

impl Error for DeviceMemoryAllocError[src]

impl From<DeviceMemoryAllocError> for ImageCreationError[src]

impl From<OomError> for DeviceMemoryAllocError[src]

impl PartialEq<DeviceMemoryAllocError> for DeviceMemoryAllocError[src]

impl StructuralEq for DeviceMemoryAllocError[src]

impl StructuralPartialEq for DeviceMemoryAllocError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Content for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.