pub enum ComputePipelineCreationError {
OomError(OomError),
DescriptorSetLayoutCreationError(DescriptorSetLayoutCreationError),
PipelineLayoutCreationError(PipelineLayoutCreationError),
IncompatiblePipelineLayout(PipelineLayoutSupersetError),
IncompatibleSpecializationConstants,
}
Expand description
Error that can happen when creating a compute pipeline.
Variants
OomError(OomError)
Not enough memory.
DescriptorSetLayoutCreationError(DescriptorSetLayoutCreationError)
Error while creating a descriptor set layout object.
PipelineLayoutCreationError(PipelineLayoutCreationError)
Error while creating the pipeline layout object.
IncompatiblePipelineLayout(PipelineLayoutSupersetError)
The pipeline layout is not compatible with what the shader expects.
IncompatibleSpecializationConstants
The provided specialization constants are not compatible with what the shader expects.
Trait Implementations
sourceimpl Clone for ComputePipelineCreationError
impl Clone for ComputePipelineCreationError
sourcefn clone(&self) -> ComputePipelineCreationError
fn clone(&self) -> ComputePipelineCreationError
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 ComputePipelineCreationError
impl Debug for ComputePipelineCreationError
sourceimpl Error for ComputePipelineCreationError
impl Error for ComputePipelineCreationError
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<DescriptorSetLayoutCreationError> for ComputePipelineCreationError
impl From<DescriptorSetLayoutCreationError> for ComputePipelineCreationError
sourcefn from(err: DescriptorSetLayoutCreationError) -> Self
fn from(err: DescriptorSetLayoutCreationError) -> Self
Converts to this type from the input type.
sourceimpl From<OomError> for ComputePipelineCreationError
impl From<OomError> for ComputePipelineCreationError
sourcefn from(err: OomError) -> ComputePipelineCreationError
fn from(err: OomError) -> ComputePipelineCreationError
Converts to this type from the input type.
sourceimpl From<PipelineLayoutCreationError> for ComputePipelineCreationError
impl From<PipelineLayoutCreationError> for ComputePipelineCreationError
sourcefn from(err: PipelineLayoutCreationError) -> Self
fn from(err: PipelineLayoutCreationError) -> Self
Converts to this type from the input type.
sourceimpl From<PipelineLayoutSupersetError> for ComputePipelineCreationError
impl From<PipelineLayoutSupersetError> for ComputePipelineCreationError
sourcefn from(err: PipelineLayoutSupersetError) -> Self
fn from(err: PipelineLayoutSupersetError) -> Self
Converts to this type from the input type.
sourceimpl From<VulkanError> for ComputePipelineCreationError
impl From<VulkanError> for ComputePipelineCreationError
sourcefn from(err: VulkanError) -> ComputePipelineCreationError
fn from(err: VulkanError) -> ComputePipelineCreationError
Converts to this type from the input type.
sourceimpl PartialEq<ComputePipelineCreationError> for ComputePipelineCreationError
impl PartialEq<ComputePipelineCreationError> for ComputePipelineCreationError
sourcefn eq(&self, other: &ComputePipelineCreationError) -> bool
fn eq(&self, other: &ComputePipelineCreationError) -> bool
impl Eq for ComputePipelineCreationError
impl StructuralEq for ComputePipelineCreationError
impl StructuralPartialEq for ComputePipelineCreationError
Auto Trait Implementations
impl RefUnwindSafe for ComputePipelineCreationError
impl Send for ComputePipelineCreationError
impl Sync for ComputePipelineCreationError
impl Unpin for ComputePipelineCreationError
impl UnwindSafe for ComputePipelineCreationError
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