pub enum DIDAuthError {
Authentication(String),
AuthenticationAbort(String),
ACLDenied(String),
DIDComm(String),
DIDResolver(String),
Secrets(String),
}Expand description
DID Authentication Errors
Variants§
Authentication(String)
Authentication error, can be retried
AuthenticationAbort(String)
Authentication error, cannot be retried
ACLDenied(String)
Access Control Denied
DIDComm(String)
DIDComm related Error
DIDResolver(String)
Secrets(String)
Trait Implementations§
Source§impl Debug for DIDAuthError
impl Debug for DIDAuthError
Source§impl Display for DIDAuthError
impl Display for DIDAuthError
Source§impl Error for DIDAuthError
impl Error for DIDAuthError
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<DIDCacheError> for DIDAuthError
impl From<DIDCacheError> for DIDAuthError
Source§fn from(error: DIDCacheError) -> Self
fn from(error: DIDCacheError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for DIDAuthError
impl From<Error> for DIDAuthError
Source§fn from(error: DidcommError) -> Self
fn from(error: DidcommError) -> Self
Converts to this type from the input type.
Source§impl From<SecretsResolverError> for DIDAuthError
impl From<SecretsResolverError> for DIDAuthError
Source§fn from(error: SecretsResolverError) -> Self
fn from(error: SecretsResolverError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DIDAuthError
impl RefUnwindSafe for DIDAuthError
impl Send for DIDAuthError
impl Sync for DIDAuthError
impl Unpin for DIDAuthError
impl UnsafeUnpin for DIDAuthError
impl UnwindSafe for DIDAuthError
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> BorrowUnordered for T
impl<T> BorrowUnordered for T
fn as_unordered(&self) -> &Unordered<T>
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::RequestSource§impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ResourceProvider<()> for T
impl<T> ResourceProvider<()> for T
Source§fn get_resource(&self) -> &()
fn get_resource(&self) -> &()
Returns a reference to the resource of type
T.Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.