Enum gfx_hal::device::OutOfMemory
source · pub enum OutOfMemory {
OutOfHostMemory,
OutOfDeviceMemory,
}
Expand description
Error allocating memory.
Variants
OutOfHostMemory
Host memory exhausted.
OutOfDeviceMemory
Device memory exhausted.
Trait Implementations
sourceimpl Clone for OutOfMemory
impl Clone for OutOfMemory
sourcefn clone(&self) -> OutOfMemory
fn clone(&self) -> OutOfMemory
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for OutOfMemory
impl Debug for OutOfMemory
sourceimpl Display for OutOfMemory
impl Display for OutOfMemory
sourceimpl Fail for OutOfMemory
impl Fail for OutOfMemory
sourcefn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moresourceimpl From<OutOfMemory> for AllocationError
impl From<OutOfMemory> for AllocationError
sourcefn from(error: OutOfMemory) -> Self
fn from(error: OutOfMemory) -> Self
Converts to this type from the input type.
sourceimpl From<OutOfMemory> for BindError
impl From<OutOfMemory> for BindError
sourcefn from(error: OutOfMemory) -> Self
fn from(error: OutOfMemory) -> Self
Converts to this type from the input type.
sourceimpl From<OutOfMemory> for CreationError
impl From<OutOfMemory> for CreationError
sourcefn from(error: OutOfMemory) -> Self
fn from(error: OutOfMemory) -> Self
Converts to this type from the input type.
sourceimpl From<OutOfMemory> for CreationError
impl From<OutOfMemory> for CreationError
sourcefn from(error: OutOfMemory) -> Self
fn from(error: OutOfMemory) -> Self
Converts to this type from the input type.
sourceimpl From<OutOfMemory> for CreationError
impl From<OutOfMemory> for CreationError
sourcefn from(err: OutOfMemory) -> Self
fn from(err: OutOfMemory) -> Self
Converts to this type from the input type.
sourceimpl From<OutOfMemory> for CreationError
impl From<OutOfMemory> for CreationError
sourcefn from(error: OutOfMemory) -> Self
fn from(error: OutOfMemory) -> Self
Converts to this type from the input type.
sourceimpl From<OutOfMemory> for CreationError
impl From<OutOfMemory> for CreationError
sourcefn from(error: OutOfMemory) -> Self
fn from(error: OutOfMemory) -> Self
Converts to this type from the input type.
sourceimpl From<OutOfMemory> for Error
impl From<OutOfMemory> for Error
sourcefn from(error: OutOfMemory) -> Self
fn from(error: OutOfMemory) -> Self
Converts to this type from the input type.
sourceimpl From<OutOfMemory> for OomOrDeviceLost
impl From<OutOfMemory> for OomOrDeviceLost
sourcefn from(error: OutOfMemory) -> Self
fn from(error: OutOfMemory) -> Self
Converts to this type from the input type.
sourceimpl From<OutOfMemory> for ShaderError
impl From<OutOfMemory> for ShaderError
sourcefn from(error: OutOfMemory) -> Self
fn from(error: OutOfMemory) -> Self
Converts to this type from the input type.
sourceimpl From<OutOfMemory> for ViewCreationError
impl From<OutOfMemory> for ViewCreationError
sourcefn from(error: OutOfMemory) -> Self
fn from(error: OutOfMemory) -> Self
Converts to this type from the input type.
sourceimpl From<OutOfMemory> for ViewError
impl From<OutOfMemory> for ViewError
sourcefn from(error: OutOfMemory) -> Self
fn from(error: OutOfMemory) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<OutOfMemory> for OutOfMemory
impl PartialEq<OutOfMemory> for OutOfMemory
sourcefn eq(&self, other: &OutOfMemory) -> bool
fn eq(&self, other: &OutOfMemory) -> bool
impl Copy for OutOfMemory
impl Eq for OutOfMemory
impl StructuralEq for OutOfMemory
impl StructuralPartialEq for OutOfMemory
Auto Trait Implementations
impl RefUnwindSafe for OutOfMemory
impl Send for OutOfMemory
impl Sync for OutOfMemory
impl Unpin for OutOfMemory
impl UnwindSafe for OutOfMemory
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more