pub enum GoogleApiError {
OpenSSLError(ErrorStack),
JwtError(Error),
ReqwestError(Error),
TokenRetrivalError(String),
EmailSendError(String),
ServiceAccountLoadFailure(Error),
SerdeError(Error),
}
Expand description
Errors that may occur during any of the operations in this lib.
Variants§
OpenSSLError(ErrorStack)
A tls error occurred.
JwtError(Error)
A jwt error occurred.
ReqwestError(Error)
Got an error whilst processing a request.
TokenRetrivalError(String)
An error occurred whilst retrieving the access token.
EmailSendError(String)
An error occurred whilst sending the email.
ServiceAccountLoadFailure(Error)
An IO error occurred.
SerdeError(Error)
A serialization error occurred
Trait Implementations§
Source§impl Debug for GoogleApiError
impl Debug for GoogleApiError
Source§impl Display for GoogleApiError
impl Display for GoogleApiError
Source§impl Error for GoogleApiError
impl Error for GoogleApiError
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()
Source§impl From<Error> for GoogleApiError
impl From<Error> for GoogleApiError
Source§impl From<Error> for GoogleApiError
impl From<Error> for GoogleApiError
Source§impl From<Error> for GoogleApiError
impl From<Error> for GoogleApiError
Source§impl From<ErrorStack> for GoogleApiError
impl From<ErrorStack> for GoogleApiError
Source§fn from(source: ErrorStack) -> Self
fn from(source: ErrorStack) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GoogleApiError
impl !RefUnwindSafe for GoogleApiError
impl Send for GoogleApiError
impl Sync for GoogleApiError
impl Unpin for GoogleApiError
impl !UnwindSafe for GoogleApiError
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