pub enum AuthProgress {
NeedInput(String),
InProgress(String),
Complete,
Error(String),
OAuthStarted {
auth_url: String,
},
}Expand description
Progress status for authentication flows
Variants§
NeedInput(String)
Need input from the user with a prompt message
InProgress(String)
Authentication is in progress with a status message
Complete
Authentication is complete
Error(String)
An error occurred
OAuthStarted
OAuth flow started, contains the authorization URL
Trait Implementations§
Source§impl Clone for AuthProgress
impl Clone for AuthProgress
Source§fn clone(&self) -> AuthProgress
fn clone(&self) -> AuthProgress
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AuthProgress
impl RefUnwindSafe for AuthProgress
impl Send for AuthProgress
impl Sync for AuthProgress
impl Unpin for AuthProgress
impl UnwindSafe for AuthProgress
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