pub enum RetrievalError {
Show 20 variants
AccessDenied(AccessDenied),
ParseError(ParseError),
EntityNotFound(EntityId),
EventNotFound(EventId),
StorageError(Box<dyn Error + Send + Sync + 'static>),
CollectionNotFound(CollectionId),
FailedUpdate(Box<dyn Error + Send + Sync + 'static>),
DeserializationError(Error),
NoDurablePeers,
Other(String),
InvalidBucketName,
AnkqlFilter(Error),
FutureJoin(JoinError),
Anyhow(Error),
DecodeError(DecodeError),
StateError(StateError),
MutationError(Box<MutationError>),
PropertyError(Box<PropertyError>),
RequestError(RequestError),
ApplyError(ApplyError),
}Variants§
AccessDenied(AccessDenied)
ParseError(ParseError)
EntityNotFound(EntityId)
EventNotFound(EventId)
StorageError(Box<dyn Error + Send + Sync + 'static>)
CollectionNotFound(CollectionId)
FailedUpdate(Box<dyn Error + Send + Sync + 'static>)
DeserializationError(Error)
NoDurablePeers
Other(String)
InvalidBucketName
AnkqlFilter(Error)
FutureJoin(JoinError)
Anyhow(Error)
DecodeError(DecodeError)
StateError(StateError)
MutationError(Box<MutationError>)
PropertyError(Box<PropertyError>)
RequestError(RequestError)
ApplyError(ApplyError)
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<AccessDenied> for RetrievalError
impl From<AccessDenied> for RetrievalError
Source§fn from(err: AccessDenied) -> Self
fn from(err: AccessDenied) -> Self
Converts to this type from the input type.
Source§impl From<ApplyError> for RetrievalError
impl From<ApplyError> for RetrievalError
Source§fn from(err: ApplyError) -> Self
fn from(err: ApplyError) -> Self
Converts to this type from the input type.
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<JoinError> for RetrievalError
impl From<JoinError> for RetrievalError
Source§impl From<MutationError> for RetrievalError
impl From<MutationError> for RetrievalError
Source§fn from(err: MutationError) -> Self
fn from(err: MutationError) -> 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<PropertyError> for RetrievalError
impl From<PropertyError> for RetrievalError
Source§fn from(err: PropertyError) -> Self
fn from(err: PropertyError) -> Self
Converts to this type from the input type.
Source§impl From<RequestError> for RetrievalError
impl From<RequestError> for RetrievalError
Source§fn from(err: RequestError) -> Self
fn from(err: RequestError) -> Self
Converts to this type from the input type.
Source§impl From<RetrievalError> for ApplyError
impl From<RetrievalError> for ApplyError
Source§fn from(err: RetrievalError) -> Self
fn from(err: RetrievalError) -> Self
Converts to this type from the input type.
Source§impl From<RetrievalError> for MutationError
impl From<RetrievalError> for MutationError
Source§fn from(err: RetrievalError) -> Self
fn from(err: RetrievalError) -> 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.
Source§impl From<StateError> for RetrievalError
impl From<StateError> for RetrievalError
Source§fn from(err: StateError) -> Self
fn from(err: StateError) -> Self
Converts to this type from the input type.
Source§impl From<SubscriptionError> for RetrievalError
impl From<SubscriptionError> for RetrievalError
Source§fn from(err: SubscriptionError) -> Self
fn from(err: SubscriptionError) -> 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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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