pub enum OutOfMemory {
Host,
Device,
}
Expand description
Error allocating memory.
Variants§
Trait Implementations§
Source§impl Clone for OutOfMemory
impl Clone for OutOfMemory
Source§fn clone(&self) -> OutOfMemory
fn clone(&self) -> OutOfMemory
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 OutOfMemory
impl Debug for OutOfMemory
Source§impl Display for OutOfMemory
impl Display for OutOfMemory
Source§impl Error for OutOfMemory
impl Error for OutOfMemory
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<OutOfMemory> for AllocationError
impl From<OutOfMemory> for AllocationError
Source§fn from(error: OutOfMemory) -> AllocationError
fn from(error: OutOfMemory) -> AllocationError
Converts to this type from the input type.
Source§impl From<OutOfMemory> for BindError
impl From<OutOfMemory> for BindError
Source§fn from(error: OutOfMemory) -> BindError
fn from(error: OutOfMemory) -> BindError
Converts to this type from the input type.
Source§impl From<OutOfMemory> for CreationError
impl From<OutOfMemory> for CreationError
Source§fn from(error: OutOfMemory) -> CreationError
fn from(error: OutOfMemory) -> CreationError
Converts to this type from the input type.
Source§impl From<OutOfMemory> for CreationError
impl From<OutOfMemory> for CreationError
Source§fn from(error: OutOfMemory) -> CreationError
fn from(error: OutOfMemory) -> CreationError
Converts to this type from the input type.
Source§impl From<OutOfMemory> for CreationError
impl From<OutOfMemory> for CreationError
Source§fn from(err: OutOfMemory) -> CreationError
fn from(err: OutOfMemory) -> CreationError
Converts to this type from the input type.
Source§impl From<OutOfMemory> for CreationError
impl From<OutOfMemory> for CreationError
Source§fn from(error: OutOfMemory) -> CreationError
fn from(error: OutOfMemory) -> CreationError
Converts to this type from the input type.
Source§impl From<OutOfMemory> for CreationError
impl From<OutOfMemory> for CreationError
Source§fn from(error: OutOfMemory) -> CreationError
fn from(error: OutOfMemory) -> CreationError
Converts to this type from the input type.
Source§impl From<OutOfMemory> for MapError
impl From<OutOfMemory> for MapError
Source§fn from(error: OutOfMemory) -> MapError
fn from(error: OutOfMemory) -> MapError
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 From<OutOfMemory> for ShaderError
impl From<OutOfMemory> for ShaderError
Source§fn from(error: OutOfMemory) -> ShaderError
fn from(error: OutOfMemory) -> ShaderError
Converts to this type from the input type.
Source§impl From<OutOfMemory> for ViewCreationError
impl From<OutOfMemory> for ViewCreationError
Source§fn from(error: OutOfMemory) -> ViewCreationError
fn from(error: OutOfMemory) -> ViewCreationError
Converts to this type from the input type.
Source§impl From<OutOfMemory> for ViewError
impl From<OutOfMemory> for ViewError
Source§fn from(error: OutOfMemory) -> ViewError
fn from(error: OutOfMemory) -> ViewError
Converts to this type from the input type.
Source§impl PartialEq for OutOfMemory
impl PartialEq for OutOfMemory
impl StructuralPartialEq for OutOfMemory
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