Enum gpu_descriptor::AllocationError [−][src]
pub enum AllocationError { OutOfDeviceMemory, OutOfHostMemory, Fragmentation, }
AllocationError that may occur during descriptor sets allocation.
Variants
Backend reported that device memory has been exhausted.
Deallocating device memory or other resources may increase chance
that another allocation would succeed.
Backend reported that host memory has been exhausted.
Deallocating host memory may increase chance that another allocation would succeed.
The total number of descriptors across all pools created
with flag CREATE_UPDATE_AFTER_BIND_BIT
set exceeds max_update_after_bind_descriptors_in_all_pools
Or fragmentation of the underlying hardware resources occurs.
Trait Implementations
impl Error for AllocationError
[src]
impl Error for AllocationError
[src]impl From<CreatePoolError> for AllocationError
[src]
impl From<CreatePoolError> for AllocationError
[src]fn from(err: CreatePoolError) -> Self
[src]
Auto Trait Implementations
impl RefUnwindSafe for AllocationError
impl RefUnwindSafe for AllocationError
impl Send for AllocationError
impl Send for AllocationError
impl Sync for AllocationError
impl Sync for AllocationError
impl Unpin for AllocationError
impl Unpin for AllocationError
impl UnwindSafe for AllocationError
impl UnwindSafe for AllocationError