pub enum ResetCommandPoolError {
VulkanError(VulkanError),
InUse,
}
Expand description
Error that can be returned when resetting a CommandPool
.
Variants§
Trait Implementations§
source§impl Clone for ResetCommandPoolError
impl Clone for ResetCommandPoolError
source§fn clone(&self) -> ResetCommandPoolError
fn clone(&self) -> ResetCommandPoolError
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 ResetCommandPoolError
impl Debug for ResetCommandPoolError
source§impl Display for ResetCommandPoolError
impl Display for ResetCommandPoolError
source§impl Error for ResetCommandPoolError
impl Error for ResetCommandPoolError
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<ResetCommandPoolError> for Validated<ResetCommandPoolError>
impl From<ResetCommandPoolError> for Validated<ResetCommandPoolError>
source§fn from(err: ResetCommandPoolError) -> Self
fn from(err: ResetCommandPoolError) -> Self
Converts to this type from the input type.
source§impl From<VulkanError> for ResetCommandPoolError
impl From<VulkanError> for ResetCommandPoolError
source§fn from(err: VulkanError) -> Self
fn from(err: VulkanError) -> Self
Converts to this type from the input type.
source§impl PartialEq for ResetCommandPoolError
impl PartialEq for ResetCommandPoolError
source§fn eq(&self, other: &ResetCommandPoolError) -> bool
fn eq(&self, other: &ResetCommandPoolError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ResetCommandPoolError
impl StructuralEq for ResetCommandPoolError
impl StructuralPartialEq for ResetCommandPoolError
Auto Trait Implementations§
impl RefUnwindSafe for ResetCommandPoolError
impl Send for ResetCommandPoolError
impl Sync for ResetCommandPoolError
impl Unpin for ResetCommandPoolError
impl UnwindSafe for ResetCommandPoolError
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