pub enum CommandPoolResetError {
InUse,
OutOfDeviceMemory,
}
Expand description
Error that can be returned when resetting a CommandPool
.
Variants§
Trait Implementations§
source§impl Clone for CommandPoolResetError
impl Clone for CommandPoolResetError
source§fn clone(&self) -> CommandPoolResetError
fn clone(&self) -> CommandPoolResetError
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 CommandPoolResetError
impl Debug for CommandPoolResetError
source§impl Display for CommandPoolResetError
impl Display for CommandPoolResetError
source§impl Error for CommandPoolResetError
impl Error for CommandPoolResetError
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 PartialEq<CommandPoolResetError> for CommandPoolResetError
impl PartialEq<CommandPoolResetError> for CommandPoolResetError
source§fn eq(&self, other: &CommandPoolResetError) -> bool
fn eq(&self, other: &CommandPoolResetError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.