pub enum DescriptorsAllocationError {
OutOfMemory {
source: OutOfMemory,
},
Fragmentation,
}
Expand description
AllocationError that may occur during descriptor sets allocation.
Variants§
OutOfMemory
Fields
§
source: OutOfMemory
Out of device memory
Fragmentation
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§
source§impl Clone for DescriptorsAllocationError
impl Clone for DescriptorsAllocationError
source§fn clone(&self) -> DescriptorsAllocationError
fn clone(&self) -> DescriptorsAllocationError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DescriptorsAllocationError
impl Debug for DescriptorsAllocationError
source§impl Display for DescriptorsAllocationError
impl Display for DescriptorsAllocationError
source§impl Error for DescriptorsAllocationError
impl Error for DescriptorsAllocationError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<OutOfMemory> for DescriptorsAllocationError
impl From<OutOfMemory> for DescriptorsAllocationError
source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
Converts to this type from the input type.
source§impl PartialEq<DescriptorsAllocationError> for DescriptorsAllocationError
impl PartialEq<DescriptorsAllocationError> for DescriptorsAllocationError
source§fn eq(&self, other: &DescriptorsAllocationError) -> bool
fn eq(&self, other: &DescriptorsAllocationError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.