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
Unauthorized
Http(StatusCode, Option<OperationError>, String)
Transport(Error)
Tuple Fields
0: Error
AuthenticationFailed
EmptyResponse
TotpVerifyFailed(Uuid, TotpSecret)
TotpInvalidSha1(Uuid)
Tuple Fields
0: Uuid
JsonDecode(Error, String)
JsonEncode(SerdeJsonError)
Tuple Fields
SystemError
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