pub enum QueryOutcome {
Ok,
Error,
Timeout,
MemoryLimit,
}Expand description
How a finished query is classified for metrics.
Variants§
Trait Implementations§
Source§impl Clone for QueryOutcome
impl Clone for QueryOutcome
Source§fn clone(&self) -> QueryOutcome
fn clone(&self) -> QueryOutcome
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 moreimpl Copy for QueryOutcome
Source§impl Debug for QueryOutcome
impl Debug for QueryOutcome
impl Eq for QueryOutcome
Source§impl PartialEq for QueryOutcome
impl PartialEq for QueryOutcome
Source§fn eq(&self, other: &QueryOutcome) -> bool
fn eq(&self, other: &QueryOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for QueryOutcome
Auto Trait Implementations§
impl Freeze for QueryOutcome
impl RefUnwindSafe for QueryOutcome
impl Send for QueryOutcome
impl Sync for QueryOutcome
impl Unpin for QueryOutcome
impl UnsafeUnpin for QueryOutcome
impl UnwindSafe for QueryOutcome
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