pub enum BoundedQueryError {
Query(QueryError),
ScannedByteBudgetExceeded {
maximum: u64,
},
RecordDocument(DocumentError),
}Expand description
Failure from the additive query entry points that enforce an aggregate key/canonical-document byte budget.
QueryError remains the exhaustive error surface published in 0.2.0.
This separate type adds byte-policy failures without invalidating legacy
downstream matches.
Variants§
Query(QueryError)
Ordinary query validation or execution failed.
ScannedByteBudgetExceeded
Aggregate key and canonical document bytes exceeded policy.
RecordDocument(DocumentError)
An in-memory record cannot be represented as one canonical document.
Trait Implementations§
Source§impl Clone for BoundedQueryError
impl Clone for BoundedQueryError
Source§fn clone(&self) -> BoundedQueryError
fn clone(&self) -> BoundedQueryError
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 BoundedQueryError
impl Debug for BoundedQueryError
Source§impl Display for BoundedQueryError
impl Display for BoundedQueryError
impl Eq for BoundedQueryError
Source§impl Error for BoundedQueryError
impl Error for BoundedQueryError
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 From<DocumentError> for BoundedQueryError
impl From<DocumentError> for BoundedQueryError
Source§fn from(source: DocumentError) -> Self
fn from(source: DocumentError) -> Self
Converts to this type from the input type.
Source§impl From<QueryError> for BoundedQueryError
impl From<QueryError> for BoundedQueryError
Source§fn from(source: QueryError) -> Self
fn from(source: QueryError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BoundedQueryError
impl PartialEq for BoundedQueryError
impl StructuralPartialEq for BoundedQueryError
Auto Trait Implementations§
impl Freeze for BoundedQueryError
impl RefUnwindSafe for BoundedQueryError
impl Send for BoundedQueryError
impl Sync for BoundedQueryError
impl Unpin for BoundedQueryError
impl UnsafeUnpin for BoundedQueryError
impl UnwindSafe for BoundedQueryError
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