Struct sierra::OutOfMemory
source · pub struct OutOfMemory;
Expand description
Error that may occur when allocation fails because of either device memory is exhausted.
Deallocation of device memory or other resources may increase chance that operation would succeed.
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)>
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 CreateBufferError
impl From<OutOfMemory> for CreateBufferError
source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
Converts to this type from the input type.
source§impl<E: Error + 'static> From<OutOfMemory> for CreateDeviceError<E>
impl<E: Error + 'static> From<OutOfMemory> for CreateDeviceError<E>
source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
Converts to this type from the input type.
source§impl From<OutOfMemory> for CreateRenderPassError
impl From<OutOfMemory> for CreateRenderPassError
source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
Converts to this type from the input type.
source§impl From<OutOfMemory> for CreateShaderModuleError
impl From<OutOfMemory> for CreateShaderModuleError
source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
Converts to this type from the input type.
source§impl From<OutOfMemory> for CreateSurfaceError
impl From<OutOfMemory> for CreateSurfaceError
source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
Converts to this type from the input type.
source§impl From<OutOfMemory> for DescriptorsAllocationError
impl From<OutOfMemory> for DescriptorsAllocationError
source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
Converts to this type from the input type.
source§impl From<OutOfMemory> for EnumerateDeviceError
impl From<OutOfMemory> for EnumerateDeviceError
source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
Converts to this type from the input type.
source§impl From<OutOfMemory> for FramebufferError
impl From<OutOfMemory> for FramebufferError
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 QueueError
impl From<OutOfMemory> for QueueError
source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
Converts to this type from the input type.
source§impl From<OutOfMemory> for SurfaceError
impl From<OutOfMemory> for SurfaceError
source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
Converts to this type from the input type.
source§impl PartialEq<OutOfMemory> for OutOfMemory
impl PartialEq<OutOfMemory> for OutOfMemory
source§fn eq(&self, other: &OutOfMemory) -> bool
fn eq(&self, other: &OutOfMemory) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.