pub enum SyncCommandBufferBuilderError {
Conflict {
command_param: Cow<'static, str>,
previous_command_name: &'static str,
previous_command_offset: usize,
previous_command_param: Cow<'static, str>,
},
ExecError(CommandBufferExecError),
}
Expand description
Error returned if the builder detects that there’s an unsolvable conflict.
Variants
Conflict
Unsolvable conflict.
ExecError(CommandBufferExecError)
Trait Implementations
sourceimpl Clone for SyncCommandBufferBuilderError
impl Clone for SyncCommandBufferBuilderError
sourcefn clone(&self) -> SyncCommandBufferBuilderError
fn clone(&self) -> SyncCommandBufferBuilderError
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 SyncCommandBufferBuilderError
impl Debug for SyncCommandBufferBuilderError
sourceimpl Error for SyncCommandBufferBuilderError
impl Error for SyncCommandBufferBuilderError
1.30.0 · 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<CommandBufferExecError> for SyncCommandBufferBuilderError
impl From<CommandBufferExecError> for SyncCommandBufferBuilderError
sourcefn from(val: CommandBufferExecError) -> Self
fn from(val: CommandBufferExecError) -> Self
Converts to this type from the input type.
sourceimpl From<SyncCommandBufferBuilderError> for CopyError
impl From<SyncCommandBufferBuilderError> for CopyError
sourcefn from(err: SyncCommandBufferBuilderError) -> Self
fn from(err: SyncCommandBufferBuilderError) -> Self
Converts to this type from the input type.
sourceimpl From<SyncCommandBufferBuilderError> for ExecuteCommandsError
impl From<SyncCommandBufferBuilderError> for ExecuteCommandsError
sourcefn from(err: SyncCommandBufferBuilderError) -> Self
fn from(err: SyncCommandBufferBuilderError) -> Self
Converts to this type from the input type.
sourceimpl From<SyncCommandBufferBuilderError> for PipelineExecutionError
impl From<SyncCommandBufferBuilderError> for PipelineExecutionError
sourcefn from(err: SyncCommandBufferBuilderError) -> Self
fn from(err: SyncCommandBufferBuilderError) -> Self
Converts to this type from the input type.
sourceimpl From<SyncCommandBufferBuilderError> for QueryError
impl From<SyncCommandBufferBuilderError> for QueryError
sourcefn from(err: SyncCommandBufferBuilderError) -> Self
fn from(err: SyncCommandBufferBuilderError) -> Self
Converts to this type from the input type.
sourceimpl From<SyncCommandBufferBuilderError> for RenderPassError
impl From<SyncCommandBufferBuilderError> for RenderPassError
sourcefn from(err: SyncCommandBufferBuilderError) -> Self
fn from(err: SyncCommandBufferBuilderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for SyncCommandBufferBuilderError
impl Send for SyncCommandBufferBuilderError
impl Sync for SyncCommandBufferBuilderError
impl Unpin for SyncCommandBufferBuilderError
impl UnwindSafe for SyncCommandBufferBuilderError
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