#[non_exhaustive]pub enum DidCheqdError {
MethodNotSupported(String),
NetworkNotSupported(String),
BadConfiguration(String),
TransportError(Box<Error>),
NonSuccessResponse(Box<Status>),
InvalidResponse(String),
InvalidDidDocument(String),
InvalidDidUrl(String),
ResourceNotFound(String),
ParsingError(ParsingErrorSource),
Other(Box<dyn Error + Send + Sync>),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
MethodNotSupported(String)
NetworkNotSupported(String)
BadConfiguration(String)
TransportError(Box<Error>)
NonSuccessResponse(Box<Status>)
InvalidResponse(String)
InvalidDidDocument(String)
InvalidDidUrl(String)
ResourceNotFound(String)
ParsingError(ParsingErrorSource)
Other(Box<dyn Error + Send + Sync>)
Trait Implementations§
Source§impl Debug for DidCheqdError
impl Debug for DidCheqdError
Source§impl Display for DidCheqdError
impl Display for DidCheqdError
Source§impl Error for DidCheqdError
impl Error for DidCheqdError
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<Error> for DidCheqdError
impl From<Error> for DidCheqdError
Source§impl From<FromUtf8Error> for DidCheqdError
impl From<FromUtf8Error> for DidCheqdError
Source§fn from(error: FromUtf8Error) -> Self
fn from(error: FromUtf8Error) -> Self
Converts to this type from the input type.
Source§impl From<ParseError> for DidCheqdError
impl From<ParseError> for DidCheqdError
Source§fn from(error: ParseError) -> Self
fn from(error: ParseError) -> Self
Converts to this type from the input type.
Source§impl From<ParsingErrorSource> for DidCheqdError
impl From<ParsingErrorSource> for DidCheqdError
Source§fn from(source: ParsingErrorSource) -> Self
fn from(source: ParsingErrorSource) -> Self
Converts to this type from the input type.
Source§impl From<TryFromIntError> for DidCheqdError
impl From<TryFromIntError> for DidCheqdError
Source§fn from(error: TryFromIntError) -> Self
fn from(error: TryFromIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for DidCheqdError
impl !UnwindSafe for DidCheqdError
impl Freeze for DidCheqdError
impl Send for DidCheqdError
impl Sync for DidCheqdError
impl Unpin for DidCheqdError
impl UnsafeUnpin for DidCheqdError
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>
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> 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> 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.