pub enum OomOrDeviceLost {
OutOfMemory(OutOfMemory),
DeviceLost(DeviceLost),
}Expand description
Error occurred caused device to be lost or out of memory error.
Variants§
Trait Implementations§
Source§impl Clone for OomOrDeviceLost
impl Clone for OomOrDeviceLost
Source§fn clone(&self) -> OomOrDeviceLost
fn clone(&self) -> OomOrDeviceLost
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OomOrDeviceLost
impl Debug for OomOrDeviceLost
Source§impl From<DeviceLost> for OomOrDeviceLost
impl From<DeviceLost> for OomOrDeviceLost
Source§fn from(error: DeviceLost) -> OomOrDeviceLost
fn from(error: DeviceLost) -> OomOrDeviceLost
Converts to this type from the input type.
Source§impl From<OutOfMemory> for OomOrDeviceLost
impl From<OutOfMemory> for OomOrDeviceLost
Source§fn from(error: OutOfMemory) -> OomOrDeviceLost
fn from(error: OutOfMemory) -> OomOrDeviceLost
Converts to this type from the input type.
Source§impl PartialEq for OomOrDeviceLost
impl PartialEq for OomOrDeviceLost
impl StructuralPartialEq for OomOrDeviceLost
Auto Trait Implementations§
impl Freeze for OomOrDeviceLost
impl RefUnwindSafe for OomOrDeviceLost
impl Send for OomOrDeviceLost
impl Sync for OomOrDeviceLost
impl Unpin for OomOrDeviceLost
impl UnwindSafe for OomOrDeviceLost
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