pub enum Error {
JWS(Error),
DID(DerefError),
Ipld(Error),
VerificationMethodMismatch,
InvalidVerificationMethod(InvalidVerificationMethod),
MissingPublicKey,
BlockchainAccountId(BlockchainAccountIdError),
MissingUCANHeaderField(&'static str),
DIDURL,
Json(Error),
Caip10Parse(BlockchainAccountIdParseError),
Caip10Verify(BlockchainAccountIdVerifyError),
}Variants§
JWS(Error)
DID(DerefError)
Ipld(Error)
VerificationMethodMismatch
InvalidVerificationMethod(InvalidVerificationMethod)
MissingPublicKey
BlockchainAccountId(BlockchainAccountIdError)
MissingUCANHeaderField(&'static str)
DIDURL
Json(Error)
Caip10Parse(BlockchainAccountIdParseError)
Caip10Verify(BlockchainAccountIdVerifyError)
Trait Implementations§
Source§impl Error for Error
impl Error for Error
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<BlockchainAccountIdError> for Error
impl From<BlockchainAccountIdError> for Error
Source§fn from(source: BlockchainAccountIdError) -> Self
fn from(source: BlockchainAccountIdError) -> Self
Converts to this type from the input type.
Source§impl From<BlockchainAccountIdParseError> for Error
impl From<BlockchainAccountIdParseError> for Error
Source§fn from(source: BlockchainAccountIdParseError) -> Self
fn from(source: BlockchainAccountIdParseError) -> Self
Converts to this type from the input type.
Source§impl From<BlockchainAccountIdVerifyError> for Error
impl From<BlockchainAccountIdVerifyError> for Error
Source§fn from(source: BlockchainAccountIdVerifyError) -> Self
fn from(source: BlockchainAccountIdVerifyError) -> Self
Converts to this type from the input type.
Source§impl From<DerefError> for Error
impl From<DerefError> for Error
Source§fn from(source: DerefError) -> Self
fn from(source: DerefError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for FromIpldBlockError
impl From<Error> for FromIpldBlockError
Source§impl From<InvalidVerificationMethod> for Error
impl From<InvalidVerificationMethod> for Error
Source§fn from(source: InvalidVerificationMethod) -> Self
fn from(source: InvalidVerificationMethod) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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, 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> References<RawCodec> for T
impl<T> References<RawCodec> for T
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.