pub struct ResolutionError {
pub error: ResolutionErrorCode,
pub problem_details: Option<ProblemDetails>,
}Expand description
Resolution error codes as defined by the did:webvh specification.
Fields§
§error: ResolutionErrorCodeError code: “notFound” or “invalidDid”.
problem_details: Option<ProblemDetails>Optional RFC 9457 problem details.
Trait Implementations§
Source§impl Clone for ResolutionError
impl Clone for ResolutionError
Source§impl Debug for ResolutionError
impl Debug for ResolutionError
Source§impl<'de> Deserialize<'de> for ResolutionError
impl<'de> Deserialize<'de> for ResolutionError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ResolutionError
impl RefUnwindSafe for ResolutionError
impl Send for ResolutionError
impl Sync for ResolutionError
impl Unpin for ResolutionError
impl UnsafeUnpin for ResolutionError
impl UnwindSafe for ResolutionError
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