pub enum GmailApiError {
ApiError(String),
AuthError(String),
MessageRetrievalError(String),
MessageFormatError(String),
NetworkError(String),
RateLimitError(String),
CacheError(String),
}Expand description
Error type for Gmail API operations
Variants§
ApiError(String)
AuthError(String)
MessageRetrievalError(String)
MessageFormatError(String)
NetworkError(String)
RateLimitError(String)
CacheError(String)
Trait Implementations§
Source§impl Debug for GmailApiError
impl Debug for GmailApiError
Source§impl Display for GmailApiError
impl Display for GmailApiError
Source§impl Error for GmailApiError
impl Error for GmailApiError
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 Freeze for GmailApiError
impl RefUnwindSafe for GmailApiError
impl Send for GmailApiError
impl Sync for GmailApiError
impl Unpin for GmailApiError
impl UnsafeUnpin for GmailApiError
impl UnwindSafe for GmailApiError
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