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