pub enum SearchPlanError {
NotASearch,
Blocks,
Plan(PlanError),
Settings(SearchSpecError),
Space(SearchSpaceError),
UnknownColumn {
column: String,
known: Vec<String>,
},
BatchTooLarge {
batch_size: usize,
replicates: u64,
},
TooManyRuns,
Sharded,
RetryFailed,
}Expand description
A search spec that cannot run.
Variants§
NotASearch
A spec with no [search] table, passed to a search.
Blocks
A search spec that lists blocks as well.
Plan(PlanError)
Fixed values or actions that the model rejects.
Settings(SearchSpecError)
Search settings that the check rejects.
Space(SearchSpaceError)
A search space that cannot be resolved.
UnknownColumn
A watched column that no reducer writes.
Fields
BatchTooLarge
A batch of batch_size candidates at replicates runs each, more than MAX_RUNS runs in all.
TooManyRuns
More runs than a 64-bit count holds.
Sharded
A search run as one shard of several.
RetryFailed
A search resume set to run its failed runs again.
Trait Implementations§
Source§impl Clone for SearchPlanError
impl Clone for SearchPlanError
Source§impl Debug for SearchPlanError
impl Debug for SearchPlanError
Source§impl Display for SearchPlanError
impl Display for SearchPlanError
Source§impl Error for SearchPlanError
impl Error for SearchPlanError
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<SearchPlanError> for ExploreError
impl From<SearchPlanError> for ExploreError
Source§fn from(error: SearchPlanError) -> Self
fn from(error: SearchPlanError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SearchPlanError
impl PartialEq for SearchPlanError
impl StructuralPartialEq for SearchPlanError
Auto Trait Implementations§
impl Freeze for SearchPlanError
impl RefUnwindSafe for SearchPlanError
impl Send for SearchPlanError
impl Sync for SearchPlanError
impl Unpin for SearchPlanError
impl UnsafeUnpin for SearchPlanError
impl UnwindSafe for SearchPlanError
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more