pub enum MultiQueryExecutionError {
DuplicateQuery {
query: u32,
},
ZeroGraphHash {
query: u32,
},
ZeroTraversalKey {
query: u32,
},
ZeroGraphUploadBytes {
query: u32,
},
GraphUploadBytesMismatch {
graph_layout_hash: u64,
expected_bytes: u64,
actual_bytes: u64,
query: u32,
},
ZeroBudget,
ByteCountOverflow {
field: &'static str,
},
OverBudget {
graph_layout_hash: u64,
traversal_key: u64,
required_bytes: u64,
budget_bytes: u64,
},
StorageReserveFailed {
field: &'static str,
requested: usize,
message: String,
},
InternalInvariant {
message: &'static str,
},
}Expand description
multi-query planning errors.
Variants§
DuplicateQuery
Duplicate query id.
ZeroGraphHash
Query needs a non-zero graph hash.
ZeroTraversalKey
Query needs a non-zero traversal compatibility key.
ZeroGraphUploadBytes
Query must report non-zero resident graph upload bytes.
GraphUploadBytesMismatch
Equal graph hashes must agree on the resident graph byte width.
Fields
ZeroBudget
Explicit device budget cannot be zero.
ByteCountOverflow
Byte arithmetic overflowed.
OverBudget
A grouped resident envelope exceeds the explicit device budget.
Fields
StorageReserveFailed
Planner storage could not be reserved.
Fields
InternalInvariant
Planner state violated an internal construction invariant.
Trait Implementations§
Source§impl Clone for MultiQueryExecutionError
impl Clone for MultiQueryExecutionError
Source§fn clone(&self) -> MultiQueryExecutionError
fn clone(&self) -> MultiQueryExecutionError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MultiQueryExecutionError
impl Debug for MultiQueryExecutionError
Source§impl Display for MultiQueryExecutionError
impl Display for MultiQueryExecutionError
impl Eq for MultiQueryExecutionError
Source§impl Error for MultiQueryExecutionError
impl Error for MultiQueryExecutionError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 PartialEq for MultiQueryExecutionError
impl PartialEq for MultiQueryExecutionError
Source§fn eq(&self, other: &MultiQueryExecutionError) -> bool
fn eq(&self, other: &MultiQueryExecutionError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MultiQueryExecutionError
Auto Trait Implementations§
impl Freeze for MultiQueryExecutionError
impl RefUnwindSafe for MultiQueryExecutionError
impl Send for MultiQueryExecutionError
impl Sync for MultiQueryExecutionError
impl Unpin for MultiQueryExecutionError
impl UnsafeUnpin for MultiQueryExecutionError
impl UnwindSafe for MultiQueryExecutionError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.