pub enum CommandPoolCreationError {
OomError(OomError),
QueueFamilyIndexOutOfRange {
queue_family_index: u32,
queue_family_count: u32,
},
}
Expand description
Error that can happen when creating a CommandPool
.
Variants
OomError(OomError)
Not enough memory.
QueueFamilyIndexOutOfRange
The provided queue_family_index
was not less than the number of queue families in the
physical device.
Trait Implementations
sourceimpl Clone for CommandPoolCreationError
impl Clone for CommandPoolCreationError
sourcefn clone(&self) -> CommandPoolCreationError
fn clone(&self) -> CommandPoolCreationError
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 CommandPoolCreationError
impl Debug for CommandPoolCreationError
sourceimpl Display for CommandPoolCreationError
impl Display for CommandPoolCreationError
sourceimpl Error for CommandPoolCreationError
impl Error for CommandPoolCreationError
sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<VulkanError> for CommandPoolCreationError
impl From<VulkanError> for CommandPoolCreationError
sourcefn from(err: VulkanError) -> Self
fn from(err: VulkanError) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<CommandPoolCreationError> for CommandPoolCreationError
impl PartialEq<CommandPoolCreationError> for CommandPoolCreationError
sourcefn eq(&self, other: &CommandPoolCreationError) -> bool
fn eq(&self, other: &CommandPoolCreationError) -> bool
impl Copy for CommandPoolCreationError
impl Eq for CommandPoolCreationError
impl StructuralEq for CommandPoolCreationError
impl StructuralPartialEq for CommandPoolCreationError
Auto Trait Implementations
impl RefUnwindSafe for CommandPoolCreationError
impl Send for CommandPoolCreationError
impl Sync for CommandPoolCreationError
impl Unpin for CommandPoolCreationError
impl UnwindSafe for CommandPoolCreationError
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