Enum gpu_descriptor::CreatePoolError
source · pub enum CreatePoolError {
OutOfDeviceMemory,
OutOfHostMemory,
Fragmentation,
}
Expand description
Memory exhausted error.
Variants§
OutOfDeviceMemory
Device memory exhausted.
OutOfHostMemory
Host memory exhausted.
Fragmentation
A descriptor pool creation has failed due to fragmentation.
Trait Implementations§
source§impl Debug for CreatePoolError
impl Debug for CreatePoolError
source§impl From<CreatePoolError> for AllocationError
impl From<CreatePoolError> for AllocationError
source§fn from(err: CreatePoolError) -> Self
fn from(err: CreatePoolError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CreatePoolError
impl RefUnwindSafe for CreatePoolError
impl Send for CreatePoolError
impl Sync for CreatePoolError
impl Unpin for CreatePoolError
impl UnwindSafe for CreatePoolError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more