Enum vk_alloc::AllocatorError
source · [−]pub enum AllocatorError {
TryFromIntError(TryFromIntError),
OutOfMemory,
FailedToMap,
NotSlotsAvailable,
NoCompatibleMemoryTypeFound,
InvalidAlignment,
CantFindChunk,
CantFindBlock,
Internal(String),
}
Expand description
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
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.