Enum dacite::TryDestroyErrorKind
[−]
[src]
pub enum TryDestroyErrorKind { Unsupported, InUse(Option<usize>), VulkanError(Error), }
Indicates the kind of error, which occurred while trying to delete a Vulkan object.
Variants
Unsupported
The Vulkan object can not be destroyed explicitly.
This is the case for objects, which are implicitly destroyed with its parent (e.g. PhysicalDevice and Queue).
InUse(Option<usize>)
The Vulkan object is still in use.
The optional usize value indicates the current reference counter.
VulkanError(Error)
A Vulkan error occurred at runtime.
Trait Implementations
impl Debug for TryDestroyErrorKind
[src]
impl Copy for TryDestroyErrorKind
[src]
impl Clone for TryDestroyErrorKind
[src]
fn clone(&self) -> TryDestroyErrorKind
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for TryDestroyErrorKind
[src]
fn eq(&self, __arg_0: &TryDestroyErrorKind) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TryDestroyErrorKind) -> bool
This method tests for !=
.