pub struct InvalidRelativeDIDURL<T>(pub T, pub Unexpected);Expand description
Error raised when a conversion to a relative DID URL fails.
Tuple Fields§
§0: T§1: UnexpectedImplementations§
Source§impl<T> InvalidRelativeDIDURL<T>
impl<T> InvalidRelativeDIDURL<T>
pub fn map<U>(self, f: impl FnOnce(T) -> U) -> InvalidRelativeDIDURL<U>
Trait Implementations§
Source§impl<T: Debug> Debug for InvalidRelativeDIDURL<T>
impl<T: Debug> Debug for InvalidRelativeDIDURL<T>
Source§impl<T> Display for InvalidRelativeDIDURL<T>where
T: Display,
impl<T> Display for InvalidRelativeDIDURL<T>where
T: Display,
Source§impl<T> Error for InvalidRelativeDIDURL<T>
impl<T> Error for InvalidRelativeDIDURL<T>
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<T> Freeze for InvalidRelativeDIDURL<T>where
T: Freeze,
impl<T> RefUnwindSafe for InvalidRelativeDIDURL<T>where
T: RefUnwindSafe,
impl<T> Send for InvalidRelativeDIDURL<T>where
T: Send,
impl<T> Sync for InvalidRelativeDIDURL<T>where
T: Sync,
impl<T> Unpin for InvalidRelativeDIDURL<T>where
T: Unpin,
impl<T> UnwindSafe for InvalidRelativeDIDURL<T>where
T: UnwindSafe,
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.