pub enum AuthFlowError {
BadResponse {
msg: String,
source: Option<Box<dyn Error + Send + Sync>>,
},
Aborted {
msg: String,
source: Option<Box<dyn Error + Send + Sync>>,
},
Internal {
msg: String,
source: Option<Box<dyn Error + Send + Sync>>,
},
}Variants§
BadResponse
The data provided in the server callback, or the callback URL itself, was malformed or incomplete
Aborted
Authentication was aborted. For example by a timeout or the user canceling the authentication
Internal
An internal error. For example, failure to launch the browser or to read user input from the console.
Trait Implementations§
Source§impl Debug for AuthFlowError
impl Debug for AuthFlowError
Source§impl Display for AuthFlowError
impl Display for AuthFlowError
Source§impl Error for AuthFlowError
impl Error for AuthFlowError
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<AuthFlowError> for ClientConnectError
impl From<AuthFlowError> for ClientConnectError
Source§fn from(source: AuthFlowError) -> Self
fn from(source: AuthFlowError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for AuthFlowError
impl !UnwindSafe for AuthFlowError
impl Freeze for AuthFlowError
impl Send for AuthFlowError
impl Sync for AuthFlowError
impl Unpin for AuthFlowError
impl UnsafeUnpin for AuthFlowError
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