pub enum RetrievalError {
ParseError(ParseError),
NotFound(ID),
StorageError(Box<dyn Error + Send + Sync + 'static>),
FailedUpdate(Box<dyn Error + Send + Sync + 'static>),
DeserializationError(Error),
NoDurablePeers,
Other(String),
InvalidBucketName,
AnkqlFilter(Error),
FutureJoin(Box<dyn Error + Send + Sync + 'static>),
Anyhow(Error),
DecodeError(DecodeError),
}Variants§
ParseError(ParseError)
NotFound(ID)
StorageError(Box<dyn Error + Send + Sync + 'static>)
FailedUpdate(Box<dyn Error + Send + Sync + 'static>)
DeserializationError(Error)
NoDurablePeers
Other(String)
InvalidBucketName
AnkqlFilter(Error)
FutureJoin(Box<dyn Error + Send + Sync + 'static>)
Anyhow(Error)
DecodeError(DecodeError)
Implementations§
Trait Implementations§
Source§impl Debug for RetrievalError
impl Debug for RetrievalError
Source§impl Display for RetrievalError
impl Display for RetrievalError
Source§impl Error for RetrievalError
impl Error for RetrievalError
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<DecodeError> for RetrievalError
impl From<DecodeError> for RetrievalError
Source§fn from(err: DecodeError) -> Self
fn from(err: DecodeError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for RetrievalError
impl From<Error> for RetrievalError
Source§impl From<Error> for RetrievalError
impl From<Error> for RetrievalError
Source§impl From<Infallible> for RetrievalError
impl From<Infallible> for RetrievalError
Source§fn from(_: Infallible) -> Self
fn from(_: Infallible) -> Self
Converts to this type from the input type.
Source§impl From<ParseError> for RetrievalError
impl From<ParseError> for RetrievalError
Source§fn from(e: ParseError) -> Self
fn from(e: ParseError) -> Self
Converts to this type from the input type.
Source§impl From<RetrievalError> for PropertyError
impl From<RetrievalError> for PropertyError
Source§fn from(retrieval: RetrievalError) -> Self
fn from(retrieval: RetrievalError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RetrievalError
impl !RefUnwindSafe for RetrievalError
impl Send for RetrievalError
impl Sync for RetrievalError
impl Unpin for RetrievalError
impl !UnwindSafe for RetrievalError
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