Enum vk_alloc::AllocatorError [−][src]
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.
Tuple Fields of TryFromIntError
General out of memory error.
Failed to map the memory.
No free slots ara available.
No compatible memory type was found.
Alignment is not a power of 2.
Can’t find referenced chunk in chunk list.
Can’t find referenced block in block list.
Internal(String)An allocator implementation error.
Tuple Fields of Internal
0: StringTrait 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 !=.