pub enum ClientError {
Show 17 variants
Unauthorized,
SessionExpired,
Http(StatusCode, Option<OperationError>, String),
Transport(Error),
AuthenticationFailed,
EmptyResponse,
TotpVerifyFailed(Uuid, TotpSecret),
TotpInvalidSha1(Uuid),
JsonDecode(Error, String),
InvalidResponseFormat(String),
JsonEncode(Error),
UrlEncode(Error),
SystemError,
ConfigParseIssue(String),
CertParseIssue(String),
UntrustedCertificate(String),
InvalidRequest(String),
}
Variants§
SessionExpired
Http(StatusCode, Option<OperationError>, String)
Transport(Error)
AuthenticationFailed
EmptyResponse
TotpVerifyFailed(Uuid, TotpSecret)
TotpInvalidSha1(Uuid)
JsonDecode(Error, String)
InvalidResponseFormat(String)
JsonEncode(Error)
UrlEncode(Error)
SystemError
ConfigParseIssue(String)
CertParseIssue(String)
UntrustedCertificate(String)
InvalidRequest(String)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ClientError
impl !RefUnwindSafe for ClientError
impl Send for ClientError
impl Sync for ClientError
impl Unpin for ClientError
impl !UnwindSafe for ClientError
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
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