Enum webfinger::WebfingerError
source · [−]pub enum WebfingerError {
HttpError,
ParseError,
JsonError,
}
Expand description
An error that occured while fetching a WebFinger resource.
Variants
HttpError
The error came from the HTTP client.
ParseError
The requested resource couldn’t be parsed, and thus couldn’t be fetched
JsonError
The received JSON couldn’t be parsed into a valid Webfinger
struct.
Trait Implementations
sourceimpl Debug for WebfingerError
impl Debug for WebfingerError
sourceimpl PartialEq<WebfingerError> for WebfingerError
impl PartialEq<WebfingerError> for WebfingerError
impl StructuralPartialEq for WebfingerError
Auto Trait Implementations
impl RefUnwindSafe for WebfingerError
impl Send for WebfingerError
impl Sync for WebfingerError
impl Unpin for WebfingerError
impl UnwindSafe for WebfingerError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more