pub enum DIDPeerError {
UnsupportedKeyType,
UnsupportedCurve(String),
UnsupportedSource,
SyntaxErrorServiceDefinition(String),
MethodNotSupported,
KeyParsingError(String),
MissingVerificationMethods,
JsonParsingError(String),
InternalError(String),
EncodingError(String),
}
Variants§
UnsupportedKeyType
UnsupportedCurve(String)
UnsupportedSource
SyntaxErrorServiceDefinition(String)
MethodNotSupported
KeyParsingError(String)
MissingVerificationMethods
JsonParsingError(String)
InternalError(String)
EncodingError(String)
Trait Implementations§
Source§impl Debug for DIDPeerError
impl Debug for DIDPeerError
Source§impl Display for DIDPeerError
impl Display for DIDPeerError
Source§impl Error for DIDPeerError
impl Error for DIDPeerError
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<DIDPeerError> for JsValue
impl From<DIDPeerError> for JsValue
Source§fn from(err: DIDPeerError) -> JsValue
fn from(err: DIDPeerError) -> JsValue
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DIDPeerError
impl RefUnwindSafe for DIDPeerError
impl Send for DIDPeerError
impl Sync for DIDPeerError
impl Unpin for DIDPeerError
impl UnwindSafe for DIDPeerError
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