pub enum BoundedEngineQueryError {
Engine(EngineError),
ScannedByteBudgetExceeded {
maximum: u64,
},
}Expand description
Failure from the additive engine query entry points that enforce an aggregate durable byte budget.
Variants§
Engine(EngineError)
Ordinary embedded-engine failure.
ScannedByteBudgetExceeded
Aggregate durable key and canonical-document bytes exceeded policy.
Trait Implementations§
Source§impl Debug for BoundedEngineQueryError
impl Debug for BoundedEngineQueryError
Source§impl Display for BoundedEngineQueryError
impl Display for BoundedEngineQueryError
Source§impl Error for BoundedEngineQueryError
impl Error for BoundedEngineQueryError
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<BoundedQueryError> for BoundedEngineQueryError
impl From<BoundedQueryError> for BoundedEngineQueryError
Source§fn from(source: BoundedQueryError) -> Self
fn from(source: BoundedQueryError) -> Self
Converts to this type from the input type.
Source§impl From<EngineError> for BoundedEngineQueryError
impl From<EngineError> for BoundedEngineQueryError
Source§fn from(source: EngineError) -> Self
fn from(source: EngineError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for BoundedEngineQueryError
impl !UnwindSafe for BoundedEngineQueryError
impl Freeze for BoundedEngineQueryError
impl Send for BoundedEngineQueryError
impl Sync for BoundedEngineQueryError
impl Unpin for BoundedEngineQueryError
impl UnsafeUnpin for BoundedEngineQueryError
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