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 more
sourceimpl 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
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
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
Performs the conversion.
sourceimpl From<OomError> for ComputePipelineCreationError
impl From<OomError> for ComputePipelineCreationError
sourcefn from(err: OomError) -> ComputePipelineCreationError
fn from(err: OomError) -> ComputePipelineCreationError
Performs the conversion.
sourceimpl From<PipelineLayoutCreationError> for ComputePipelineCreationError
impl From<PipelineLayoutCreationError> for ComputePipelineCreationError
sourcefn from(err: PipelineLayoutCreationError) -> Self
fn from(err: PipelineLayoutCreationError) -> Self
Performs the conversion.
sourceimpl From<PipelineLayoutSupersetError> for ComputePipelineCreationError
impl From<PipelineLayoutSupersetError> for ComputePipelineCreationError
sourcefn from(err: PipelineLayoutSupersetError) -> Self
fn from(err: PipelineLayoutSupersetError) -> Self
Performs the conversion.
sourceimpl PartialEq<ComputePipelineCreationError> for ComputePipelineCreationError
impl PartialEq<ComputePipelineCreationError> for ComputePipelineCreationError
sourcefn eq(&self, other: &ComputePipelineCreationError) -> bool
fn eq(&self, other: &ComputePipelineCreationError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ComputePipelineCreationError) -> bool
fn ne(&self, other: &ComputePipelineCreationError) -> bool
This method tests for !=
.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more