pub enum GithubAuthError {
InvalidCallbackPath,
StateMismatch,
MissingCallbackField(&'static str),
InvalidGithubUserId(String),
InvalidExpiresAt(String),
Io(Error),
Json(Error),
}Variants§
InvalidCallbackPath
StateMismatch
MissingCallbackField(&'static str)
InvalidGithubUserId(String)
InvalidExpiresAt(String)
Io(Error)
Json(Error)
Trait Implementations§
Source§impl Debug for GithubAuthError
impl Debug for GithubAuthError
Source§impl Display for GithubAuthError
impl Display for GithubAuthError
Source§impl Error for GithubAuthError
impl Error for GithubAuthError
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 GithubAuthError
impl From<Error> for GithubAuthError
Auto Trait Implementations§
impl Freeze for GithubAuthError
impl !RefUnwindSafe for GithubAuthError
impl Send for GithubAuthError
impl Sync for GithubAuthError
impl Unpin for GithubAuthError
impl UnsafeUnpin for GithubAuthError
impl !UnwindSafe for GithubAuthError
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