pub enum SessionSearchError {
InvalidQuery(String),
InvalidCursor(String),
Unsupported(String),
Unavailable(String),
PermissionDenied,
Failed(String),
}Expand description
Required search error categories.
Variants§
InvalidQuery(String)
Malformed or incompatible query.
InvalidCursor(String)
Expired or incorrectly bound cursor.
Unsupported(String)
Provider does not advertise the requested behavior.
Installed provider cannot currently serve the request.
PermissionDenied
Scope is not permitted.
Failed(String)
Safe bounded internal failure.
Implementations§
Trait Implementations§
Source§impl Clone for SessionSearchError
impl Clone for SessionSearchError
Source§fn clone(&self) -> SessionSearchError
fn clone(&self) -> SessionSearchError
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 SessionSearchError
impl Debug for SessionSearchError
Source§impl Display for SessionSearchError
impl Display for SessionSearchError
impl Eq for SessionSearchError
Source§impl Error for SessionSearchError
impl Error for SessionSearchError
1.30.0 · 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 SessionSearchError
impl PartialEq for SessionSearchError
impl StructuralPartialEq for SessionSearchError
Auto Trait Implementations§
impl Freeze for SessionSearchError
impl RefUnwindSafe for SessionSearchError
impl Send for SessionSearchError
impl Sync for SessionSearchError
impl Unpin for SessionSearchError
impl UnsafeUnpin for SessionSearchError
impl UnwindSafe for SessionSearchError
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