pub enum LoginCliError {
UnknownFlag(String),
TransportInit(RuntimeHttpError),
Http(LoginHttpError),
MissingSigninUrl,
LoginTimedOut,
MissingToken,
Config(ConfigError),
Serialize(Error),
}Variants§
UnknownFlag(String)
TransportInit(RuntimeHttpError)
Http(LoginHttpError)
MissingSigninUrl
LoginTimedOut
MissingToken
Config(ConfigError)
Serialize(Error)
Trait Implementations§
Source§impl Debug for LoginCliError
impl Debug for LoginCliError
Source§impl Display for LoginCliError
impl Display for LoginCliError
Source§impl Error for LoginCliError
impl Error for LoginCliError
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()
Source§impl From<ConfigError> for LoginCliError
impl From<ConfigError> for LoginCliError
Source§fn from(error: ConfigError) -> Self
fn from(error: ConfigError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for LoginCliError
impl From<Error> for LoginCliError
Source§impl From<LoginHttpError> for LoginCliError
impl From<LoginHttpError> for LoginCliError
Source§fn from(error: LoginHttpError) -> Self
fn from(error: LoginHttpError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for LoginCliError
impl !UnwindSafe for LoginCliError
impl Freeze for LoginCliError
impl Send for LoginCliError
impl Sync for LoginCliError
impl Unpin for LoginCliError
impl UnsafeUnpin for LoginCliError
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