Enum vulkano::command_buffer::QueryError
source · [−]pub enum QueryError {
Show 14 variants
SyncCommandBufferBuilderError(SyncCommandBufferBuilderError),
RequirementNotMet {
required_for: &'static str,
requires_one_of: RequiresOneOf,
},
BufferTooSmall {
required_len: DeviceSize,
actual_len: DeviceSize,
},
DestinationMissingUsage,
ForbiddenInsideRenderPass,
InvalidFlags,
NoTimestampValidBits,
NotPermitted,
NotSupportedByQueueFamily,
OutOfRange,
OutOfRangeMultiview,
QueryIsActive,
QueryNotActive,
StageNotSupported,
}
Expand description
Error that can happen when calling a query command.
Variants
SyncCommandBufferBuilderError(SyncCommandBufferBuilderError)
RequirementNotMet
BufferTooSmall
Fields
required_len: DeviceSize
Required number of elements in the buffer.
actual_len: DeviceSize
Actual number of elements in the buffer.
The buffer is too small for the copy operation.
DestinationMissingUsage
The destination buffer is missing the transfer_dst
usage.
ForbiddenInsideRenderPass
Operation forbidden inside of a render pass.
InvalidFlags
The provided flags are not allowed for this type of query.
NoTimestampValidBits
The queue family’s timestamp_valid_bits
value is None
.
NotPermitted
This operation is not permitted on this query type.
NotSupportedByQueueFamily
The queue family doesn’t allow this operation.
OutOfRange
The provided query index is not valid for this pool.
OutOfRangeMultiview
The provided query index plus the number of views in the current render subpass is greater than the number of queries in the pool.
QueryIsActive
A query is active that conflicts with the current operation.
QueryNotActive
This query was not active.
StageNotSupported
The provided stage is not supported by the queue family.
Trait Implementations
sourceimpl Clone for QueryError
impl Clone for QueryError
sourcefn clone(&self) -> QueryError
fn clone(&self) -> QueryError
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresourceimpl Debug for QueryError
impl Debug for QueryError
sourceimpl Display for QueryError
impl Display for QueryError
sourceimpl Error for QueryError
impl Error for QueryError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()