pub enum UnsafeCommandPoolCreationError {
OomError(OomError),
QueueFamilyIndexOutOfRange {
queue_family_index: u32,
queue_family_count: u32,
},
}
Expand description
Error that can happen when creating an UnsafeCommandPool
.
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 UnsafeCommandPoolCreationError
impl Clone for UnsafeCommandPoolCreationError
sourcefn clone(&self) -> UnsafeCommandPoolCreationError
fn clone(&self) -> UnsafeCommandPoolCreationError
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 Error for UnsafeCommandPoolCreationError
impl Error for UnsafeCommandPoolCreationError
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 UnsafeCommandPoolCreationError
impl From<VulkanError> for UnsafeCommandPoolCreationError
sourcefn from(err: VulkanError) -> Self
fn from(err: VulkanError) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<UnsafeCommandPoolCreationError> for UnsafeCommandPoolCreationError
impl PartialEq<UnsafeCommandPoolCreationError> for UnsafeCommandPoolCreationError
sourcefn eq(&self, other: &UnsafeCommandPoolCreationError) -> bool
fn eq(&self, other: &UnsafeCommandPoolCreationError) -> bool
impl Eq for UnsafeCommandPoolCreationError
impl StructuralEq for UnsafeCommandPoolCreationError
impl StructuralPartialEq for UnsafeCommandPoolCreationError
Auto Trait Implementations
impl RefUnwindSafe for UnsafeCommandPoolCreationError
impl Send for UnsafeCommandPoolCreationError
impl Sync for UnsafeCommandPoolCreationError
impl Unpin for UnsafeCommandPoolCreationError
impl UnwindSafe for UnsafeCommandPoolCreationError
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