pub enum LoginHttpError {
RuntimeHttp(RuntimeHttpError),
HttpStatus {
status: u16,
body: String,
},
InvalidJson(String),
RunxApi {
code: String,
detail: String,
},
}Variants§
Trait Implementations§
Source§impl Debug for LoginHttpError
impl Debug for LoginHttpError
Source§impl Display for LoginHttpError
impl Display for LoginHttpError
Source§impl Error for LoginHttpError
impl Error for LoginHttpError
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<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.
Source§impl From<RuntimeHttpError> for LoginHttpError
impl From<RuntimeHttpError> for LoginHttpError
Source§fn from(error: RuntimeHttpError) -> Self
fn from(error: RuntimeHttpError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LoginHttpError
impl RefUnwindSafe for LoginHttpError
impl Send for LoginHttpError
impl Sync for LoginHttpError
impl Unpin for LoginHttpError
impl UnsafeUnpin for LoginHttpError
impl UnwindSafe for LoginHttpError
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