Enum gpu_alloc::OutOfMemory
source · pub enum OutOfMemory {
OutOfDeviceMemory,
OutOfHostMemory,
}
Expand description
Memory exhausted error.
Variants§
Trait Implementations§
source§impl Debug for OutOfMemory
impl Debug for OutOfMemory
source§impl From<OutOfMemory> for AllocationError
impl From<OutOfMemory> for AllocationError
source§fn from(err: OutOfMemory) -> Self
fn from(err: OutOfMemory) -> Self
Converts to this type from the input type.
source§impl From<OutOfMemory> for MapError
impl From<OutOfMemory> for MapError
source§fn from(err: OutOfMemory) -> Self
fn from(err: OutOfMemory) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OutOfMemory
impl RefUnwindSafe for OutOfMemory
impl Send for OutOfMemory
impl Sync for OutOfMemory
impl Unpin for OutOfMemory
impl UnwindSafe for OutOfMemory
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