Enum docker_api::errors::Error [−][src]
pub enum Error {
Show 15 variants
SerdeJsonError(SerdeError),
Hyper(Error),
Http(Error),
IO(IoError),
Encoding(FromUtf8Error),
InvalidResponse(String),
Fault {
code: StatusCode,
message: String,
},
ConnectionNotUpgraded,
ErrorStack(ErrorStack),
UnsupportedScheme(String),
MissingAuthority,
InvalidUrl(ParseError),
InvalidUri(InvalidUri),
InvalidPort(String),
InvalidProtocol(String),
}Variants
Tuple Fields of SerdeJsonError
0: SerdeErrorTuple Fields of Hyper
0: ErrorTuple Fields of Http
0: ErrorTuple Fields of IO
0: IoErrorTuple Fields of Encoding
Tuple Fields of InvalidResponse
0: StringFields of Fault
code: StatusCodemessage: StringTuple Fields of ErrorStack
0: ErrorStackTuple Fields of UnsupportedScheme
0: StringTuple Fields of InvalidUrl
0: ParseErrorTuple Fields of InvalidUri
0: InvalidUriTuple Fields of InvalidPort
0: StringTuple Fields of InvalidProtocol
0: StringTrait Implementations
Performs the conversion.
Performs the conversion.