Struct nakadion::auth::TokenError [−][src]
pub struct TokenError(_);
Expand description
An error returned when no access token was available when there should be one.
This struct does not contain any details or reasons for logging.
It is the duty of the implementor of ProvidesAccessToken
to log errors.
Implementations
Trait Implementations
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
The lower-level source of this error, if any. Read more
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for TokenError
impl Send for TokenError
impl Sync for TokenError
impl Unpin for TokenError
impl UnwindSafe for TokenError
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more