pub enum DIDTransactionError {
UnsupportedDIDMethod(String),
InvalidTransaction(String),
Failed(String),
}Variants§
Implementations§
Source§impl DIDTransactionError
impl DIDTransactionError
pub fn invalid(error: impl ToString) -> DIDTransactionError
pub fn failed(error: impl ToString) -> DIDTransactionError
Trait Implementations§
Source§impl Debug for DIDTransactionError
impl Debug for DIDTransactionError
Source§impl Display for DIDTransactionError
impl Display for DIDTransactionError
Source§impl Error for DIDTransactionError
impl Error for DIDTransactionError
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()
Auto Trait Implementations§
impl Freeze for DIDTransactionError
impl RefUnwindSafe for DIDTransactionError
impl Send for DIDTransactionError
impl Sync for DIDTransactionError
impl Unpin for DIDTransactionError
impl UnsafeUnpin for DIDTransactionError
impl UnwindSafe for DIDTransactionError
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, 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.