Enum kanidm_client::ClientError [−][src]
pub enum ClientError {
Unauthorized,
Http(StatusCode, Option<OperationError>, String),
Transport(Error),
AuthenticationFailed,
EmptyResponse,
TotpVerifyFailed(Uuid, TotpSecret),
TotpInvalidSha1(Uuid),
JsonDecode(Error, String),
JsonEncode(SerdeJsonError),
SystemError,
}
Variants
Http(StatusCode, Option<OperationError>, String)
Tuple Fields of Http
Transport(Error)
Tuple Fields of Transport
0: Error
TotpVerifyFailed(Uuid, TotpSecret)
Tuple Fields of TotpVerifyFailed
0: Uuid
1: TotpSecret
TotpInvalidSha1(Uuid)
Tuple Fields of TotpInvalidSha1
0: Uuid
JsonEncode(SerdeJsonError)
Tuple Fields of JsonEncode
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ClientError
impl Send for ClientError
impl Sync for ClientError
impl Unpin for ClientError
impl !UnwindSafe for ClientError
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more