pub enum AutoCommandBufferBuilderContextError {
ForbiddenInsideRenderPass,
ForbiddenOutsideRenderPass,
IncompatibleFramebuffer,
IncompatibleRenderPass,
NotSupportedByQueueFamily,
NumSubpassesMismatch {
actual: u32,
current: u32,
},
QueryIsActive,
QueryNotActive,
QueryNotInherited,
WrongSubpassIndex,
WrongSubpassType,
}
Variants
ForbiddenInsideRenderPass
Operation forbidden inside of a render pass.
ForbiddenOutsideRenderPass
Operation forbidden outside of a render pass.
IncompatibleFramebuffer
Tried to use a secondary command buffer with a specified framebuffer that is incompatible with the current framebuffer.
IncompatibleRenderPass
Tried to use a graphics pipeline or secondary command buffer whose render pass is incompatible with the current render pass.
NotSupportedByQueueFamily
The queue family doesn’t allow this operation.
NumSubpassesMismatch
Fields
actual: u32
Actual number of subpasses in the current render pass.
current: u32
Current subpass index before the failing command.
Tried to end a render pass with subpasses remaining, or tried to go to next subpass with no subpass remaining.
QueryIsActive
A query is active that conflicts with the current operation.
QueryNotActive
This query was not active.
QueryNotInherited
A query is active that is not included in the inheritance
of the secondary command buffer.
WrongSubpassIndex
Tried to use a graphics pipeline or secondary command buffer whose subpass index didn’t match the current subpass index.
WrongSubpassType
Tried to execute a secondary command buffer inside a subpass that only allows inline commands, or a draw command in a subpass that only allows secondary command buffers.
Trait Implementations
sourceimpl Clone for AutoCommandBufferBuilderContextError
impl Clone for AutoCommandBufferBuilderContextError
sourcefn clone(&self) -> AutoCommandBufferBuilderContextError
fn clone(&self) -> AutoCommandBufferBuilderContextError
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 Error for AutoCommandBufferBuilderContextError
impl Error for AutoCommandBufferBuilderContextError
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
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<AutoCommandBufferBuilderContextError> for BuildError
impl From<AutoCommandBufferBuilderContextError> for BuildError
sourcefn from(err: AutoCommandBufferBuilderContextError) -> BuildError
fn from(err: AutoCommandBufferBuilderContextError) -> BuildError
Performs the conversion.
sourceimpl From<AutoCommandBufferBuilderContextError> for BeginRenderPassError
impl From<AutoCommandBufferBuilderContextError> for BeginRenderPassError
sourcefn from(err: AutoCommandBufferBuilderContextError) -> BeginRenderPassError
fn from(err: AutoCommandBufferBuilderContextError) -> BeginRenderPassError
Performs the conversion.
sourceimpl From<AutoCommandBufferBuilderContextError> for DispatchError
impl From<AutoCommandBufferBuilderContextError> for DispatchError
sourcefn from(err: AutoCommandBufferBuilderContextError) -> DispatchError
fn from(err: AutoCommandBufferBuilderContextError) -> DispatchError
Performs the conversion.
sourceimpl From<AutoCommandBufferBuilderContextError> for DispatchIndirectError
impl From<AutoCommandBufferBuilderContextError> for DispatchIndirectError
sourcefn from(err: AutoCommandBufferBuilderContextError) -> DispatchIndirectError
fn from(err: AutoCommandBufferBuilderContextError) -> DispatchIndirectError
Performs the conversion.
sourceimpl From<AutoCommandBufferBuilderContextError> for DrawError
impl From<AutoCommandBufferBuilderContextError> for DrawError
sourcefn from(err: AutoCommandBufferBuilderContextError) -> DrawError
fn from(err: AutoCommandBufferBuilderContextError) -> DrawError
Performs the conversion.
sourceimpl From<AutoCommandBufferBuilderContextError> for DrawIndexedError
impl From<AutoCommandBufferBuilderContextError> for DrawIndexedError
sourcefn from(err: AutoCommandBufferBuilderContextError) -> DrawIndexedError
fn from(err: AutoCommandBufferBuilderContextError) -> DrawIndexedError
Performs the conversion.
sourceimpl From<AutoCommandBufferBuilderContextError> for DrawIndirectError
impl From<AutoCommandBufferBuilderContextError> for DrawIndirectError
sourcefn from(err: AutoCommandBufferBuilderContextError) -> DrawIndirectError
fn from(err: AutoCommandBufferBuilderContextError) -> DrawIndirectError
Performs the conversion.
sourceimpl From<AutoCommandBufferBuilderContextError> for DrawIndexedIndirectError
impl From<AutoCommandBufferBuilderContextError> for DrawIndexedIndirectError
sourcefn from(err: AutoCommandBufferBuilderContextError) -> DrawIndexedIndirectError
fn from(err: AutoCommandBufferBuilderContextError) -> DrawIndexedIndirectError
Performs the conversion.
sourceimpl From<AutoCommandBufferBuilderContextError> for ExecuteCommandsError
impl From<AutoCommandBufferBuilderContextError> for ExecuteCommandsError
sourcefn from(err: AutoCommandBufferBuilderContextError) -> ExecuteCommandsError
fn from(err: AutoCommandBufferBuilderContextError) -> ExecuteCommandsError
Performs the conversion.
sourceimpl From<AutoCommandBufferBuilderContextError> for BeginQueryError
impl From<AutoCommandBufferBuilderContextError> for BeginQueryError
sourcefn from(err: AutoCommandBufferBuilderContextError) -> BeginQueryError
fn from(err: AutoCommandBufferBuilderContextError) -> BeginQueryError
Performs the conversion.
sourceimpl From<AutoCommandBufferBuilderContextError> for EndQueryError
impl From<AutoCommandBufferBuilderContextError> for EndQueryError
sourcefn from(err: AutoCommandBufferBuilderContextError) -> EndQueryError
fn from(err: AutoCommandBufferBuilderContextError) -> EndQueryError
Performs the conversion.
sourceimpl From<AutoCommandBufferBuilderContextError> for WriteTimestampError
impl From<AutoCommandBufferBuilderContextError> for WriteTimestampError
sourcefn from(err: AutoCommandBufferBuilderContextError) -> WriteTimestampError
fn from(err: AutoCommandBufferBuilderContextError) -> WriteTimestampError
Performs the conversion.
sourceimpl From<AutoCommandBufferBuilderContextError> for CopyImageError
impl From<AutoCommandBufferBuilderContextError> for CopyImageError
sourcefn from(err: AutoCommandBufferBuilderContextError) -> CopyImageError
fn from(err: AutoCommandBufferBuilderContextError) -> CopyImageError
Performs the conversion.
sourceimpl From<AutoCommandBufferBuilderContextError> for ResetQueryPoolError
impl From<AutoCommandBufferBuilderContextError> for ResetQueryPoolError
sourcefn from(err: AutoCommandBufferBuilderContextError) -> ResetQueryPoolError
fn from(err: AutoCommandBufferBuilderContextError) -> ResetQueryPoolError
Performs the conversion.
sourceimpl From<AutoCommandBufferBuilderContextError> for UpdateBufferError
impl From<AutoCommandBufferBuilderContextError> for UpdateBufferError
sourcefn from(err: AutoCommandBufferBuilderContextError) -> UpdateBufferError
fn from(err: AutoCommandBufferBuilderContextError) -> UpdateBufferError
Performs the conversion.
sourceimpl From<AutoCommandBufferBuilderContextError> for BlitImageError
impl From<AutoCommandBufferBuilderContextError> for BlitImageError
sourcefn from(err: AutoCommandBufferBuilderContextError) -> BlitImageError
fn from(err: AutoCommandBufferBuilderContextError) -> BlitImageError
Performs the conversion.
sourceimpl From<AutoCommandBufferBuilderContextError> for ClearColorImageError
impl From<AutoCommandBufferBuilderContextError> for ClearColorImageError
sourcefn from(err: AutoCommandBufferBuilderContextError) -> ClearColorImageError
fn from(err: AutoCommandBufferBuilderContextError) -> ClearColorImageError
Performs the conversion.
sourceimpl From<AutoCommandBufferBuilderContextError> for CopyBufferError
impl From<AutoCommandBufferBuilderContextError> for CopyBufferError
sourcefn from(err: AutoCommandBufferBuilderContextError) -> CopyBufferError
fn from(err: AutoCommandBufferBuilderContextError) -> CopyBufferError
Performs the conversion.
sourceimpl From<AutoCommandBufferBuilderContextError> for CopyBufferImageError
impl From<AutoCommandBufferBuilderContextError> for CopyBufferImageError
sourcefn from(err: AutoCommandBufferBuilderContextError) -> CopyBufferImageError
fn from(err: AutoCommandBufferBuilderContextError) -> CopyBufferImageError
Performs the conversion.
sourceimpl From<AutoCommandBufferBuilderContextError> for CopyQueryPoolResultsError
impl From<AutoCommandBufferBuilderContextError> for CopyQueryPoolResultsError
sourcefn from(err: AutoCommandBufferBuilderContextError) -> CopyQueryPoolResultsError
fn from(err: AutoCommandBufferBuilderContextError) -> CopyQueryPoolResultsError
Performs the conversion.
sourceimpl From<AutoCommandBufferBuilderContextError> for FillBufferError
impl From<AutoCommandBufferBuilderContextError> for FillBufferError
sourcefn from(err: AutoCommandBufferBuilderContextError) -> FillBufferError
fn from(err: AutoCommandBufferBuilderContextError) -> FillBufferError
Performs the conversion.
sourceimpl From<AutoCommandBufferBuilderContextError> for DebugMarkerError
impl From<AutoCommandBufferBuilderContextError> for DebugMarkerError
sourcefn from(err: AutoCommandBufferBuilderContextError) -> DebugMarkerError
fn from(err: AutoCommandBufferBuilderContextError) -> DebugMarkerError
Performs the conversion.
impl Copy for AutoCommandBufferBuilderContextError
Auto Trait Implementations
impl RefUnwindSafe for AutoCommandBufferBuilderContextError
impl Send for AutoCommandBufferBuilderContextError
impl Sync for AutoCommandBufferBuilderContextError
impl Unpin for AutoCommandBufferBuilderContextError
impl UnwindSafe for AutoCommandBufferBuilderContextError
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