pub struct ApiKeyCredentialError { /* private fields */ }Expand description
A validation, transport, timeout, or response failure during API-key exchange.
The message includes the token URL and HTTP status, or says the status is unavailable if no
response arrived. Server error and error_description strings are each limited to 200
characters. The API key, cached access token, and raw response body are never displayed.
Trait Implementations§
Source§impl Clone for ApiKeyCredentialError
impl Clone for ApiKeyCredentialError
Source§impl Debug for ApiKeyCredentialError
impl Debug for ApiKeyCredentialError
Source§impl Display for ApiKeyCredentialError
impl Display for ApiKeyCredentialError
Source§impl Error for ApiKeyCredentialError
impl Error for ApiKeyCredentialError
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 Forget for ApiKeyCredentialError
impl Freeze for ApiKeyCredentialError
impl RefUnwindSafe for ApiKeyCredentialError
impl Send for ApiKeyCredentialError
impl Sync for ApiKeyCredentialError
impl Unpin for ApiKeyCredentialError
impl UnsafeUnpin for ApiKeyCredentialError
impl UnwindSafe for ApiKeyCredentialError
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request