pub enum ScopeQueryError {
Load(ScopeLoadError),
Execution(ScopeExecutionError),
InvalidLoadedScope(ScopeInputError),
EntrySelector(ScopeTextError),
Explanation(ExplanationError),
Search(SearchError),
}Expand description
Invalid query configuration, failed scope loading, or query execution failure.
Variants§
Load(ScopeLoadError)
Source selection or initial-document acquisition failed.
Execution(ScopeExecutionError)
Pure collection-query execution failed after loading.
InvalidLoadedScope(ScopeInputError)
A loading result did not satisfy the collection-query mapping contract.
EntrySelector(ScopeTextError)
A semantic-entry selector violated its native bound.
Explanation(ExplanationError)
Invalid explanation result/content bounds.
Search(SearchError)
Search configuration was invalid.
Trait Implementations§
Source§impl Clone for ScopeQueryError
impl Clone for ScopeQueryError
Source§fn clone(&self) -> ScopeQueryError
fn clone(&self) -> ScopeQueryError
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 ScopeQueryError
impl Debug for ScopeQueryError
Source§impl Display for ScopeQueryError
impl Display for ScopeQueryError
impl Eq for ScopeQueryError
Source§impl Error for ScopeQueryError
impl Error for ScopeQueryError
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 ScopeQueryError
impl PartialEq for ScopeQueryError
impl StructuralPartialEq for ScopeQueryError
Auto Trait Implementations§
impl Freeze for ScopeQueryError
impl RefUnwindSafe for ScopeQueryError
impl Send for ScopeQueryError
impl Sync for ScopeQueryError
impl Unpin for ScopeQueryError
impl UnsafeUnpin for ScopeQueryError
impl UnwindSafe for ScopeQueryError
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