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 copy 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 AcquireError
impl From<OutOfMemory> for AcquireError
Source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
Converts to this type from the input type.
Source§impl From<OutOfMemory> for AllocationError
impl From<OutOfMemory> for AllocationError
Source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
Converts to this type from the input type.
Source§impl From<OutOfMemory> for AllocationError
impl From<OutOfMemory> for AllocationError
Source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
Converts to this type from the input type.
Source§impl From<OutOfMemory> for BindError
impl From<OutOfMemory> for BindError
Source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
Converts to this type from the input type.
Source§impl From<OutOfMemory> for CreationError
impl From<OutOfMemory> for CreationError
Source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
Converts to this type from the input type.
Source§impl From<OutOfMemory> for CreationError
impl From<OutOfMemory> for CreationError
Source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
Converts to this type from the input type.
Source§impl From<OutOfMemory> for CreationError
impl From<OutOfMemory> for CreationError
Source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
Converts to this type from the input type.
Source§impl From<OutOfMemory> for CreationError
impl From<OutOfMemory> for CreationError
Source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
Converts to this type from the input type.
Source§impl From<OutOfMemory> for CreationError
impl From<OutOfMemory> for CreationError
Source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
Converts to this type from the input type.
Source§impl From<OutOfMemory> for DisplayError
impl From<OutOfMemory> for DisplayError
Source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
Converts to this type from the input type.
Source§impl From<OutOfMemory> for DisplayModeError
impl From<OutOfMemory> for DisplayModeError
Source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
Converts to this type from the input type.
Source§impl From<OutOfMemory> for DisplayPlaneSurfaceError
impl From<OutOfMemory> for DisplayPlaneSurfaceError
Source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
Converts to this type from the input type.
Source§impl From<OutOfMemory> for ExternalImagePropertiesError
impl From<OutOfMemory> for ExternalImagePropertiesError
Source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
Converts to this type from the input type.
Source§impl From<OutOfMemory> for ExternalResourceError
impl From<OutOfMemory> for ExternalResourceError
Source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
Converts to this type from the input type.
Source§impl From<OutOfMemory> for MapError
impl From<OutOfMemory> for MapError
Source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
Converts to this type from the input type.
Source§impl From<OutOfMemory> for PresentError
impl From<OutOfMemory> for PresentError
Source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
Converts to this type from the input type.
Source§impl From<OutOfMemory> for ShaderError
impl From<OutOfMemory> for ShaderError
Source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
Converts to this type from the input type.
Source§impl From<OutOfMemory> for SwapchainError
impl From<OutOfMemory> for SwapchainError
Source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
Converts to this type from the input type.
Source§impl From<OutOfMemory> for ViewCreationError
impl From<OutOfMemory> for ViewCreationError
Source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
Converts to this type from the input type.
Source§impl From<OutOfMemory> for ViewCreationError
impl From<OutOfMemory> for ViewCreationError
Source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
Converts to this type from the input type.
Source§impl From<OutOfMemory> for WaitError
impl From<OutOfMemory> for WaitError
Source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
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