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
sourceimpl Debug for CreatePoolError
impl Debug for CreatePoolError
sourceimpl From<CreatePoolError> for AllocationError
impl From<CreatePoolError> for AllocationError
sourcefn from(err: CreatePoolError) -> Self
fn from(err: CreatePoolError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for CreatePoolError
impl Send for CreatePoolError
impl Sync for CreatePoolError
impl Unpin for CreatePoolError
impl UnwindSafe for CreatePoolError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more