pub enum LookupServiceError {
InvalidQuery(String),
StorageError(String),
Unsupported(String),
Other(String),
}Expand description
Errors from LookupService operations.
Variants§
InvalidQuery(String)
The query is malformed or missing required fields.
StorageError(String)
Storage operation failed.
Unsupported(String)
The service does not support this query type.
Other(String)
Generic error.
Trait Implementations§
Source§impl Debug for LookupServiceError
impl Debug for LookupServiceError
Source§impl Display for LookupServiceError
impl Display for LookupServiceError
Source§impl Error for LookupServiceError
impl Error for LookupServiceError
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 From<LookupServiceError> for EngineError
impl From<LookupServiceError> for EngineError
Source§fn from(e: LookupServiceError) -> Self
fn from(e: LookupServiceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LookupServiceError
impl RefUnwindSafe for LookupServiceError
impl Send for LookupServiceError
impl Sync for LookupServiceError
impl Unpin for LookupServiceError
impl UnsafeUnpin for LookupServiceError
impl UnwindSafe for LookupServiceError
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