pub enum QueryResultType {
Vector(Vec<InstantVector>),
Matrix(Vec<RangeVector>),
}Expand description
A wrapper for possible result types of expression queries (crate::Client::query and crate::Client::query_range).
Variants
Vector(Vec<InstantVector>)
Matrix(Vec<RangeVector>)
Implementations
If the result type of the query is vector, returns an array of InstantVectors. Returns None otherwise.
If the result type of the query is matrix returns an array of RangeVectors. Returns None otherwise.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for QueryResultType
impl Send for QueryResultType
impl Sync for QueryResultType
impl Unpin for QueryResultType
impl UnwindSafe for QueryResultType
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more