pub enum DeviceAllocationError {
OutOfDeviceMemory,
OutOfHostMemory,
OutOfPoolMemory,
FragmentedPool,
}
Expand description
Memory exhausted error.
Variants§
OutOfDeviceMemory
Device memory exhausted.
OutOfHostMemory
Host memory exhausted.
OutOfPoolMemory
Failed to allocate memory from pool.
FragmentedPool
Pool allocation failed due to fragmentation of pool’s memory.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for DeviceAllocationError
impl Send for DeviceAllocationError
impl Sync for DeviceAllocationError
impl Unpin for DeviceAllocationError
impl UnwindSafe for DeviceAllocationError
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