Available on crate feature
client only.Expand description
Generic error types for client
Structs§
- BadHost
Name - Builder error “bad host name”
- BadScheme
- Builder error “bad scheme”
- Client
Error - Generic client error
- NoAddress
- Builder error “missing target address”
- NoAvailable
Endpoint - LoadBalance error “no available endpoint”
- Port
Unavailable - Builder error “port is unavailable in current target”
- Retry
- Connect error “retry”
- Scheme
Unavailable - Builder error “scheme is unavailable in current target”
- Timeout
- Request error “request timeout”
Enums§
- Error
Kind - Error kind of
ClientError
Functions§
- body_
error - Create a
ClientErrorwithErrorKind::Body - builder_
error - Create a
ClientErrorwithErrorKind::Builder - connect_
error - Create a
ClientErrorwithErrorKind::Context - context_
error - Create a
ClientErrorwithErrorKind::Context - lb_
error - Create a
ClientErrorwithErrorKind::LoadBalance - other_
error - Create a
ClientErrorwithErrorKind::Other - request_
error - Create a
ClientErrorwithErrorKind::Request
Type Aliases§
- Result
ResultwithClientErroras its error by default.