Enum gfx_hal::query::CreationError
source · pub enum CreationError {
OutOfMemory(OutOfMemory),
Unsupported(Type),
}
Expand description
Query creation error.
Variants
OutOfMemory(OutOfMemory)
Out of either host or device memory.
Unsupported(Type)
Query type unsupported.
Trait Implementations
sourceimpl Clone for CreationError
impl Clone for CreationError
sourcefn clone(&self) -> CreationError
fn clone(&self) -> CreationError
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 CreationError
impl Debug for CreationError
sourceimpl Display for CreationError
impl Display for CreationError
sourceimpl Fail for CreationError
impl Fail for CreationError
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 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 PartialEq<CreationError> for CreationError
impl PartialEq<CreationError> for CreationError
sourcefn eq(&self, other: &CreationError) -> bool
fn eq(&self, other: &CreationError) -> bool
impl Copy for CreationError
impl Eq for CreationError
impl StructuralEq for CreationError
impl StructuralPartialEq for CreationError
Auto Trait Implementations
impl RefUnwindSafe for CreationError
impl Send for CreationError
impl Sync for CreationError
impl Unpin for CreationError
impl UnwindSafe for CreationError
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