pub enum LoopbackError {
Bind(String),
Timeout,
StateMismatch,
Provider(String),
MissingCode,
Io(String),
}Expand description
Errors from the loopback capture flow.
Variants§
Bind(String)
Binding the loopback listener failed.
Timeout
The user did not complete the redirect within the timeout.
StateMismatch
The redirect’s state did not match (possible CSRF).
Provider(String)
The provider redirected with an error parameter.
MissingCode
The redirect carried no authorization code.
Io(String)
Socket I/O failure during capture.
Trait Implementations§
Source§impl Debug for LoopbackError
impl Debug for LoopbackError
Source§impl Display for LoopbackError
impl Display for LoopbackError
Source§impl Error for LoopbackError
impl Error for LoopbackError
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 LoopbackError
impl RefUnwindSafe for LoopbackError
impl Send for LoopbackError
impl Sync for LoopbackError
impl Unpin for LoopbackError
impl UnsafeUnpin for LoopbackError
impl UnwindSafe for LoopbackError
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