Enum wgpu_core::command::QueryError
source · pub enum QueryError {
Encoder(CommandEncoderError),
Use(QueryUseError),
Resolve(ResolveError),
InvalidBuffer(BufferId),
InvalidQuerySet(QuerySetId),
}
Expand description
Error encountered when dealing with queries
Variants§
Encoder(CommandEncoderError)
Use(QueryUseError)
Resolve(ResolveError)
InvalidBuffer(BufferId)
InvalidQuerySet(QuerySetId)
Trait Implementations§
source§impl Clone for QueryError
impl Clone for QueryError
source§fn clone(&self) -> QueryError
fn clone(&self) -> QueryError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for QueryError
impl Debug for QueryError
source§impl Display for QueryError
impl Display for QueryError
source§impl Error for QueryError
impl Error for QueryError
source§fn 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 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<CommandEncoderError> for QueryError
impl From<CommandEncoderError> for QueryError
source§fn from(source: CommandEncoderError) -> Self
fn from(source: CommandEncoderError) -> Self
Converts to this type from the input type.
source§impl From<QueryUseError> for QueryError
impl From<QueryUseError> for QueryError
source§fn from(source: QueryUseError) -> Self
fn from(source: QueryUseError) -> Self
Converts to this type from the input type.
source§impl From<ResolveError> for QueryError
impl From<ResolveError> for QueryError
source§fn from(source: ResolveError) -> Self
fn from(source: ResolveError) -> Self
Converts to this type from the input type.