pub enum AnytypeError {
Show 36 variants
Http {
method: String,
url: String,
source: Error,
outcome: Option<TimeoutOutcome>,
elapsed: Option<Duration>,
attempts: Option<u32>,
},
HttpTimeout {
class: HttpTimeoutClass,
outcome: TimeoutOutcome,
method: String,
path: String,
elapsed: Duration,
attempts: u32,
},
HttpMutationIndeterminate {
method: String,
path: String,
attempts: u32,
status: Option<u16>,
},
ApiError {
code: u16,
method: String,
url: String,
message: String,
},
ResponseTooLarge {
limit: u64,
declared: Option<u64>,
},
FileHeaderEvidenceTooLarge {
limit: u64,
status: u16,
},
InvalidFileResponseHeader {
status: u16,
header: &'static str,
issue: &'static str,
},
ChatSseEventTooLarge {
limit: u64,
},
ChatSseTransport {
path: String,
},
ChatTimestamp {
field: ChatTimestampField,
},
ChatHistoryEvidence {
kind: ChatHistoryEvidenceKind,
},
ChatEditTimestampNotAdvanced,
TooManyRetries {
n: u32,
},
Auth {
message: String,
},
Deserialization {
source: Error,
},
Serialization {
source: Error,
},
NotFound {
obj_type: String,
key: String,
},
Ambiguous {
obj_type: String,
key: String,
candidates: Vec<ResolveCandidate>,
},
ResolutionLimitExceeded {
obj_type: String,
key: String,
limit: usize,
},
Unauthorized,
Forbidden,
RateLimitExceeded {
header: String,
duration: Duration,
},
Validation {
message: String,
},
NoKeyStore,
Grpc {
source: AnytypeGrpcError,
},
GrpcUnavailable {
message: String,
},
KeyStore {
source: KeyStoreError,
},
CacheDisabled,
BodyGraph {
object_id: String,
kind: BodyGraphErrorKind,
detail: String,
},
BodyMutationIndeterminate {
object_id: String,
block_id: Option<BlockId>,
attempts: usize,
timeout: Duration,
observed: Option<Box<BodySnapshot>>,
},
BodyRpcLifecycle {
kind: BodyRpcLifecycleErrorKind,
},
CollectionMembershipEvidence {
kind: CollectionMembershipEvidenceKind,
},
TypePropertyClassification {
kind: TypePropertyClassificationErrorKind,
},
AttachedDiscussion {
kind: AttachedDiscussionErrorKind,
},
VerifyTimeout {
obj_type: String,
key: String,
attempts: usize,
timeout: Duration,
last_error: Option<String>,
},
Other {
message: String,
},
}Expand description
Errors returned by the Anytype crate.
Display, Debug, and the standard error source chain intentionally omit
every free-form string and typed upstream source that could contain request
or document content. Match the public variants and fields when an
application explicitly needs raw values; use AnytypeError::diagnostic
for ordinary logs and telemetry. Error text is therefore
classification-oriented and is not a stable parsing contract.
Variants§
Http
Fields
url: StringOriginal request target retained for programmatic inspection.
Use AnytypeError::diagnostic before logging it.
source: ErrorRaw transport source retained for explicit programmatic matching. It is omitted from standard formatting and the error source chain.
outcome: Option<TimeoutOutcome>Timeout outcome when the transport source is a caller timeout.
HttpTimeout
A library logical HTTP deadline expired.
The server may continue work after the caller receives this error.
Fields
class: HttpTimeoutClassExpired logical deadline class.
outcome: TimeoutOutcomeEffect on the logical operation.
HttpMutationIndeterminate
A non-timeout transport failure left a mutation outcome indeterminate.
Fields
ApiError
Anytype Server responded with error. This error usually means the request was invalid, or there was an internal server error.
Fields
url: StringOriginal request target retained for programmatic inspection.
Use AnytypeError::diagnostic before logging it.
message: StringBounded upstream response text for explicit programmatic handling.
This may contain document data or credentials supplied by an
untrusted server. It is deliberately omitted from Display,
Debug, and AnytypeError::diagnostic.
ResponseTooLarge
A buffered HTTP response exceeded its configured byte ceiling.
The error intentionally contains no response body, URL, request body, or credential-bearing value, so callers may classify it safely.
Fields
FileHeaderEvidenceTooLarge
Allowlisted file response headers exceeded the caller’s evidence budget.
Fields
InvalidFileResponseHeader
An allowlisted file response header was structurally invalid.
Fields
ChatSseEventTooLarge
A chat SSE event exceeded its configured incremental buffer ceiling.
No event bytes, URL, credentials, or upstream body are retained.
ChatSseTransport
A chat SSE transport failed after the stream was opened.
The raw transport error is deliberately discarded because reqwest may retain a credential- or query-bearing URL in its error source.
ChatTimestamp
A REST or gRPC chat message contained an invalid timestamp.
Raw timestamp values and message identities are omitted so this fixed classification is safe for diagnostics.
Fields
field: ChatTimestampFieldMessage field whose wire value could not be represented canonically.
ChatHistoryEvidence
An older-history REST page did not provide complete bounded evidence.
Fields
kind: ChatHistoryEvidenceKindClosed, payload-free classification of the failed evidence check.
ChatEditTimestampNotAdvanced
A supported chat edit changed content without advancing modified_at.
TooManyRetries
Encountered server error on “retryable” request, but all retry attempts failed.
Auth
Authorization error.
The raw message remains available for explicit programmatic matching, but standard formatting omits it because it may contain request data.
Deserialization
Deserialization error. This means we didn’t deserialize a server response correctly. If you see this error, please report it as a bug.
Serialization
Serialization error. unlikely to occur. If you see this error, please report it as a bug.
NotFound
Expected item was not found. Returned for any object get by id, or property or type lookup by unique key, or tag lookup by property and name.
Ambiguous
A name matched more than one item. Returned by the resolve_* helpers
(see the resolve module) when a space, type, chat,
or view name is not unique in its scope. Use the id (or, for types,
the @key form) to disambiguate.
Fields
candidates: Vec<ResolveCandidate>Deterministically ordered, deduplicated alternatives that callers can present when asking the user to disambiguate.
ResolutionLimitExceeded
A resolver could not prove a unique or missing result within its hard upstream scan bound. Retry with an id or an explicit unique key.
Client is not authenticated.
Forbidden
Client is authenticated, but user does not have proper authorization
RateLimitExceeded
Too many requests occurred. See the anytype rate limit documentation.
When the Anytype server responds with HTTP 429, the HTTP client
throttles and retries only replay-safe methods
until the server stops returning errors, or up to rate_limit_max_retries times
before giving up and returning this error to the client. The config setting
rate_limit_max_retries can be increased to handle arbitrary-sized
bursts, with the result that the app may spend more time waiting.
If rate_limit_max_retries is zero, replay-safe requests wait and retry
without a retry-count cap. Non-idempotent mutation requests are never
replayed automatically and instead return their original 429 failure.
Fields
Validation
Validation error: an internal parameter validation check failed.
The raw message remains available for explicit programmatic matching, but standard formatting omits it because validation context can contain request or document data.
NoKeyStore
A KeyStore has not been configured.
This is an AnytypeError rather than a KeyStoreError, because it is a client configuration error
Grpc
gRPC auth or transport error.
The typed source remains available for explicit programmatic matching, but standard formatting and the error source chain omit it because upstream statuses can contain response or request data.
Fields
source: AnytypeGrpcErrorgRPC auth is unavailable (missing config or account key).
KeyStore
Error encountered by the configured KeyStore.
The typed source remains available for explicit programmatic matching, but standard formatting and the error source chain omit it because it can contain paths, environment names, or backend error text.
Fields
source: KeyStoreErrorCacheDisabled
A function requiring the cache failed because the cache is disabled.
BodyGraph
A body-block read failed graph validation (see
body): the returned block graph was duplicate,
dangling, shared, cyclic, orphaned, oversized, or malformed. The read
fails whole; a partial tree is never returned.
detail contains only block IDs and structural counts.
Fields
kind: BodyGraphErrorKindClosed violation classification.
BodyMutationIndeterminate
A body-block write may have reached the server but its exact final state could not be proved within finite verification bounds.
Callers must perform a fresh body read before deciding whether any
retry is safe. Standard formatting redacts object and block identity;
observed is the last complete, validated snapshot when one was read.
Fields
observed: Option<Box<BodySnapshot>>Last complete validated body snapshot, when available.
BodyRpcLifecycle
A finite body gRPC lifecycle failed without retaining upstream payloads.
Fields
kind: BodyRpcLifecycleErrorKindClosed lifecycle classification.
CollectionMembershipEvidence
A direct collection-membership read could not establish complete, identity-bound evidence.
This variant never represents absence. Callers must treat it as an indeterminate observation and must not use it to justify retrying a preceding mutation.
Fields
kind: CollectionMembershipEvidenceKindClosed, payload-free classification of the failed evidence check.
TypePropertyClassification
A finite type-property classification could not complete its owned
ObjectShow/ObjectClose lifecycle.
Fields
kind: TypePropertyClassificationErrorKindClosed payload-free lifecycle failure classification.
AttachedDiscussion
A bounded attached-discussion operation failed without exposing identity or upstream payload data.
Fields
kind: AttachedDiscussionErrorKindClosed, payload-free failure classification.
VerifyTimeout
The previous operation could not be confirmed within the expected time interval. For more information, see the notes about eventual consistency in the project README.
Other
Some other error occurred.
The raw message remains available for explicit programmatic matching, but standard formatting omits it because callers may have included request or document data.
Implementations§
Source§impl AnytypeError
impl AnytypeError
Sourcepub fn diagnostic(&self) -> AnytypeDiagnostic
pub fn diagnostic(&self) -> AnytypeDiagnostic
Returns structured diagnostic context with all payload-bearing fields removed and every request target reduced to a bounded path.
Sourcepub fn is_authentication(&self) -> bool
pub fn is_authentication(&self) -> bool
Returns whether this failure is structurally classified as authentication.
This predicate covers the public HTTP/configuration authentication
variants and authentication failures nested below Self::Grpc. It
deliberately examines only typed variants and gRPC status categories;
it never formats or parses upstream messages, URLs, response bodies, or
credential-bearing values. Callers therefore do not need to depend on
anytype-rpc merely to choose secret-safe authentication guidance.
Sourcepub fn resolve_candidates(&self) -> Option<&[ResolveCandidate]>
pub fn resolve_candidates(&self) -> Option<&[ResolveCandidate]>
Returns bounded alternatives for an ambiguous resolver lookup.
The slice contains at most
MAX_RESOLVE_CANDIDATES
entries. Other error variants return None.
Trait Implementations§
Source§impl Debug for AnytypeError
impl Debug for AnytypeError
Source§impl Display for AnytypeError
impl Display for AnytypeError
Source§impl Error for AnytypeError
impl Error for AnytypeError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl ErrorCompat for AnytypeError
impl ErrorCompat for AnytypeError
Source§fn iter_chain(&self) -> ChainCompat<'_, '_> ⓘwhere
Self: AsErrorSource,
fn iter_chain(&self) -> ChainCompat<'_, '_> ⓘwhere
Self: AsErrorSource,
Error::source. Read moreSource§impl From<AnytypeGrpcError> for AnytypeError
impl From<AnytypeGrpcError> for AnytypeError
Source§fn from(source: AnytypeGrpcError) -> Self
fn from(source: AnytypeGrpcError) -> Self
Source§impl From<KeyStoreError> for AnytypeError
impl From<KeyStoreError> for AnytypeError
Source§fn from(source: KeyStoreError) -> Self
fn from(source: KeyStoreError) -> Self
Source§impl<__T0, __T1, __T2, __T3, __T4, __T5> IntoError<AnytypeError> for HttpSnafu<__T0, __T1, __T2, __T3, __T4, __T5>
impl<__T0, __T1, __T2, __T3, __T4, __T5> IntoError<AnytypeError> for HttpSnafu<__T0, __T1, __T2, __T3, __T4, __T5>
Source§fn into_error(self, error: Self::Source) -> AnytypeError
fn into_error(self, error: Self::Source) -> AnytypeError
Source§impl<__T0, __T1, __T2, __T3, __T4, __T5> IntoError<AnytypeError> for HttpTimeoutSnafu<__T0, __T1, __T2, __T3, __T4, __T5>where
AnytypeError: Error + ErrorCompat,
__T0: Into<HttpTimeoutClass>,
__T1: Into<TimeoutOutcome>,
__T2: Into<String>,
__T3: Into<String>,
__T4: Into<Duration>,
__T5: Into<u32>,
impl<__T0, __T1, __T2, __T3, __T4, __T5> IntoError<AnytypeError> for HttpTimeoutSnafu<__T0, __T1, __T2, __T3, __T4, __T5>where
AnytypeError: Error + ErrorCompat,
__T0: Into<HttpTimeoutClass>,
__T1: Into<TimeoutOutcome>,
__T2: Into<String>,
__T3: Into<String>,
__T4: Into<Duration>,
__T5: Into<u32>,
Source§fn into_error(self, error: Self::Source) -> AnytypeError
fn into_error(self, error: Self::Source) -> AnytypeError
Source§impl<__T0, __T1, __T2, __T3> IntoError<AnytypeError> for HttpMutationIndeterminateSnafu<__T0, __T1, __T2, __T3>
impl<__T0, __T1, __T2, __T3> IntoError<AnytypeError> for HttpMutationIndeterminateSnafu<__T0, __T1, __T2, __T3>
Source§fn into_error(self, error: Self::Source) -> AnytypeError
fn into_error(self, error: Self::Source) -> AnytypeError
Source§impl<__T0, __T1, __T2, __T3> IntoError<AnytypeError> for ApiSnafu<__T0, __T1, __T2, __T3>
impl<__T0, __T1, __T2, __T3> IntoError<AnytypeError> for ApiSnafu<__T0, __T1, __T2, __T3>
Source§fn into_error(self, error: Self::Source) -> AnytypeError
fn into_error(self, error: Self::Source) -> AnytypeError
Source§impl<__T0, __T1> IntoError<AnytypeError> for ResponseTooLargeSnafu<__T0, __T1>
impl<__T0, __T1> IntoError<AnytypeError> for ResponseTooLargeSnafu<__T0, __T1>
Source§fn into_error(self, error: Self::Source) -> AnytypeError
fn into_error(self, error: Self::Source) -> AnytypeError
Source§impl<__T0, __T1> IntoError<AnytypeError> for FileHeaderEvidenceTooLargeSnafu<__T0, __T1>
impl<__T0, __T1> IntoError<AnytypeError> for FileHeaderEvidenceTooLargeSnafu<__T0, __T1>
Source§fn into_error(self, error: Self::Source) -> AnytypeError
fn into_error(self, error: Self::Source) -> AnytypeError
Source§impl<__T0, __T1, __T2> IntoError<AnytypeError> for InvalidFileResponseHeaderSnafu<__T0, __T1, __T2>where
AnytypeError: Error + ErrorCompat,
__T0: Into<u16>,
__T1: Into<&'static str>,
__T2: Into<&'static str>,
impl<__T0, __T1, __T2> IntoError<AnytypeError> for InvalidFileResponseHeaderSnafu<__T0, __T1, __T2>where
AnytypeError: Error + ErrorCompat,
__T0: Into<u16>,
__T1: Into<&'static str>,
__T2: Into<&'static str>,
Source§fn into_error(self, error: Self::Source) -> AnytypeError
fn into_error(self, error: Self::Source) -> AnytypeError
Source§impl<__T0> IntoError<AnytypeError> for ChatSseEventTooLargeSnafu<__T0>
impl<__T0> IntoError<AnytypeError> for ChatSseEventTooLargeSnafu<__T0>
Source§fn into_error(self, error: Self::Source) -> AnytypeError
fn into_error(self, error: Self::Source) -> AnytypeError
Source§impl<__T0> IntoError<AnytypeError> for ChatSseTransportSnafu<__T0>
impl<__T0> IntoError<AnytypeError> for ChatSseTransportSnafu<__T0>
Source§fn into_error(self, error: Self::Source) -> AnytypeError
fn into_error(self, error: Self::Source) -> AnytypeError
Source§impl<__T0> IntoError<AnytypeError> for ChatTimestampSnafu<__T0>
impl<__T0> IntoError<AnytypeError> for ChatTimestampSnafu<__T0>
Source§fn into_error(self, error: Self::Source) -> AnytypeError
fn into_error(self, error: Self::Source) -> AnytypeError
Source§impl<__T0> IntoError<AnytypeError> for ChatHistoryEvidenceSnafu<__T0>
impl<__T0> IntoError<AnytypeError> for ChatHistoryEvidenceSnafu<__T0>
Source§fn into_error(self, error: Self::Source) -> AnytypeError
fn into_error(self, error: Self::Source) -> AnytypeError
Source§impl IntoError<AnytypeError> for ChatEditTimestampNotAdvancedSnafu
impl IntoError<AnytypeError> for ChatEditTimestampNotAdvancedSnafu
Source§fn into_error(self, error: Self::Source) -> AnytypeError
fn into_error(self, error: Self::Source) -> AnytypeError
Source§impl<__T0> IntoError<AnytypeError> for TooManyRetriesSnafu<__T0>
impl<__T0> IntoError<AnytypeError> for TooManyRetriesSnafu<__T0>
Source§fn into_error(self, error: Self::Source) -> AnytypeError
fn into_error(self, error: Self::Source) -> AnytypeError
Source§impl<__T0> IntoError<AnytypeError> for AuthSnafu<__T0>
impl<__T0> IntoError<AnytypeError> for AuthSnafu<__T0>
Source§fn into_error(self, error: Self::Source) -> AnytypeError
fn into_error(self, error: Self::Source) -> AnytypeError
Source§impl<__T0> IntoError<AnytypeError> for DeserializationSnafu<__T0>
impl<__T0> IntoError<AnytypeError> for DeserializationSnafu<__T0>
Source§fn into_error(self, error: Self::Source) -> AnytypeError
fn into_error(self, error: Self::Source) -> AnytypeError
Source§impl<__T0> IntoError<AnytypeError> for SerializationSnafu<__T0>
impl<__T0> IntoError<AnytypeError> for SerializationSnafu<__T0>
Source§fn into_error(self, error: Self::Source) -> AnytypeError
fn into_error(self, error: Self::Source) -> AnytypeError
Source§impl<__T0, __T1> IntoError<AnytypeError> for NotFoundSnafu<__T0, __T1>
impl<__T0, __T1> IntoError<AnytypeError> for NotFoundSnafu<__T0, __T1>
Source§fn into_error(self, error: Self::Source) -> AnytypeError
fn into_error(self, error: Self::Source) -> AnytypeError
Source§impl<__T0, __T1, __T2> IntoError<AnytypeError> for AmbiguousSnafu<__T0, __T1, __T2>where
AnytypeError: Error + ErrorCompat,
__T0: Into<String>,
__T1: Into<String>,
__T2: Into<Vec<ResolveCandidate>>,
impl<__T0, __T1, __T2> IntoError<AnytypeError> for AmbiguousSnafu<__T0, __T1, __T2>where
AnytypeError: Error + ErrorCompat,
__T0: Into<String>,
__T1: Into<String>,
__T2: Into<Vec<ResolveCandidate>>,
Source§fn into_error(self, error: Self::Source) -> AnytypeError
fn into_error(self, error: Self::Source) -> AnytypeError
Source§impl<__T0, __T1, __T2> IntoError<AnytypeError> for ResolutionLimitExceededSnafu<__T0, __T1, __T2>
impl<__T0, __T1, __T2> IntoError<AnytypeError> for ResolutionLimitExceededSnafu<__T0, __T1, __T2>
Source§fn into_error(self, error: Self::Source) -> AnytypeError
fn into_error(self, error: Self::Source) -> AnytypeError
Source§fn into_error(self, error: Self::Source) -> AnytypeError
fn into_error(self, error: Self::Source) -> AnytypeError
Source§impl IntoError<AnytypeError> for ForbiddenSnafu
impl IntoError<AnytypeError> for ForbiddenSnafu
Source§fn into_error(self, error: Self::Source) -> AnytypeError
fn into_error(self, error: Self::Source) -> AnytypeError
Source§impl<__T0, __T1> IntoError<AnytypeError> for RateLimitExceededSnafu<__T0, __T1>
impl<__T0, __T1> IntoError<AnytypeError> for RateLimitExceededSnafu<__T0, __T1>
Source§fn into_error(self, error: Self::Source) -> AnytypeError
fn into_error(self, error: Self::Source) -> AnytypeError
Source§impl<__T0> IntoError<AnytypeError> for ValidationSnafu<__T0>
impl<__T0> IntoError<AnytypeError> for ValidationSnafu<__T0>
Source§fn into_error(self, error: Self::Source) -> AnytypeError
fn into_error(self, error: Self::Source) -> AnytypeError
Source§impl IntoError<AnytypeError> for NoKeyStoreSnafu
impl IntoError<AnytypeError> for NoKeyStoreSnafu
Source§fn into_error(self, error: Self::Source) -> AnytypeError
fn into_error(self, error: Self::Source) -> AnytypeError
Source§impl<__T0> IntoError<AnytypeError> for GrpcSnafu<__T0>
impl<__T0> IntoError<AnytypeError> for GrpcSnafu<__T0>
Source§fn into_error(self, error: Self::Source) -> AnytypeError
fn into_error(self, error: Self::Source) -> AnytypeError
Source§fn into_error(self, error: Self::Source) -> AnytypeError
fn into_error(self, error: Self::Source) -> AnytypeError
Source§impl<__T0> IntoError<AnytypeError> for KeyStoreSnafu<__T0>
impl<__T0> IntoError<AnytypeError> for KeyStoreSnafu<__T0>
Source§fn into_error(self, error: Self::Source) -> AnytypeError
fn into_error(self, error: Self::Source) -> AnytypeError
Source§impl IntoError<AnytypeError> for CacheDisabledSnafu
impl IntoError<AnytypeError> for CacheDisabledSnafu
Source§fn into_error(self, error: Self::Source) -> AnytypeError
fn into_error(self, error: Self::Source) -> AnytypeError
Source§impl<__T0, __T1, __T2> IntoError<AnytypeError> for BodyGraphSnafu<__T0, __T1, __T2>where
AnytypeError: Error + ErrorCompat,
__T0: Into<String>,
__T1: Into<BodyGraphErrorKind>,
__T2: Into<String>,
impl<__T0, __T1, __T2> IntoError<AnytypeError> for BodyGraphSnafu<__T0, __T1, __T2>where
AnytypeError: Error + ErrorCompat,
__T0: Into<String>,
__T1: Into<BodyGraphErrorKind>,
__T2: Into<String>,
Source§fn into_error(self, error: Self::Source) -> AnytypeError
fn into_error(self, error: Self::Source) -> AnytypeError
Source§impl<__T0, __T1, __T2, __T3, __T4> IntoError<AnytypeError> for BodyMutationIndeterminateSnafu<__T0, __T1, __T2, __T3, __T4>
impl<__T0, __T1, __T2, __T3, __T4> IntoError<AnytypeError> for BodyMutationIndeterminateSnafu<__T0, __T1, __T2, __T3, __T4>
Source§fn into_error(self, error: Self::Source) -> AnytypeError
fn into_error(self, error: Self::Source) -> AnytypeError
Source§impl<__T0> IntoError<AnytypeError> for BodyRpcLifecycleSnafu<__T0>
impl<__T0> IntoError<AnytypeError> for BodyRpcLifecycleSnafu<__T0>
Source§fn into_error(self, error: Self::Source) -> AnytypeError
fn into_error(self, error: Self::Source) -> AnytypeError
Source§impl<__T0> IntoError<AnytypeError> for CollectionMembershipEvidenceSnafu<__T0>
impl<__T0> IntoError<AnytypeError> for CollectionMembershipEvidenceSnafu<__T0>
Source§fn into_error(self, error: Self::Source) -> AnytypeError
fn into_error(self, error: Self::Source) -> AnytypeError
Source§impl<__T0> IntoError<AnytypeError> for TypePropertyClassificationSnafu<__T0>
impl<__T0> IntoError<AnytypeError> for TypePropertyClassificationSnafu<__T0>
Source§fn into_error(self, error: Self::Source) -> AnytypeError
fn into_error(self, error: Self::Source) -> AnytypeError
Source§impl<__T0> IntoError<AnytypeError> for AttachedDiscussionSnafu<__T0>
impl<__T0> IntoError<AnytypeError> for AttachedDiscussionSnafu<__T0>
Source§fn into_error(self, error: Self::Source) -> AnytypeError
fn into_error(self, error: Self::Source) -> AnytypeError
Source§impl<__T0, __T1, __T2, __T3, __T4> IntoError<AnytypeError> for VerifyTimeoutSnafu<__T0, __T1, __T2, __T3, __T4>
impl<__T0, __T1, __T2, __T3, __T4> IntoError<AnytypeError> for VerifyTimeoutSnafu<__T0, __T1, __T2, __T3, __T4>
Source§fn into_error(self, error: Self::Source) -> AnytypeError
fn into_error(self, error: Self::Source) -> AnytypeError
Source§impl<__T0> IntoError<AnytypeError> for OtherSnafu<__T0>
impl<__T0> IntoError<AnytypeError> for OtherSnafu<__T0>
Source§fn into_error(self, error: Self::Source) -> AnytypeError
fn into_error(self, error: Self::Source) -> AnytypeError
Auto Trait Implementations§
impl !RefUnwindSafe for AnytypeError
impl !UnwindSafe for AnytypeError
impl Freeze for AnytypeError
impl Send for AnytypeError
impl Sync for AnytypeError
impl Unpin for AnytypeError
impl UnsafeUnpin for AnytypeError
Blanket Implementations§
Source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
Source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<K, Q> Comparable<Q> for K
impl<K, Q> Comparable<Q> for K
Source§impl<K, Q> Equivalent<Q> for K
impl<K, Q> Equivalent<Q> for K
Source§fn equivalent(&self, key: &Q) -> bool
fn equivalent(&self, key: &Q) -> bool
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
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> ⓘ
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> ⓘ
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request