Enum vk_alloc::AllocatorError[][src]

pub enum AllocatorError {
    TryFromIntError(TryFromIntError),
    OutOfMemory,
    FailedToMap,
    NotSlotsAvailable,
    NoCompatibleMemoryTypeFound,
    InvalidAlignment,
    CantFindChunk,
    CantFindBlock,
    Internal(String),
}

Errors that the allocators can throw.

Variants

TryFromIntError(TryFromIntError)

A TryFromIntError.

OutOfMemory

General out of memory error.

FailedToMap

Failed to map the memory.

NotSlotsAvailable

No free slots ara available.

NoCompatibleMemoryTypeFound

No compatible memory type was found.

InvalidAlignment

Alignment is not a power of 2.

CantFindChunk

Can’t find referenced chunk in chunk list.

CantFindBlock

Can’t find referenced block in block list.

Internal(String)

An allocator implementation error.

Trait Implementations

impl Debug for AllocatorError[src]

impl Display for AllocatorError[src]

impl Eq for AllocatorError[src]

impl Error for AllocatorError[src]

impl From<TryFromIntError> for AllocatorError[src]

impl PartialEq<AllocatorError> for AllocatorError[src]

impl StructuralEq for AllocatorError[src]

impl StructuralPartialEq for AllocatorError[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> From<T> for T[src]

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

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.