Enum docker_api::errors::Error [−][src]
pub enum Error {
Show 16 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),
MalformedVersion(String),
}Variants
SerdeJsonError(SerdeError)
Tuple Fields
0: SerdeErrorHyper(Error)
Tuple Fields
0: ErrorHttp(Error)
Tuple Fields
0: ErrorIO(IoError)
Tuple Fields
0: IoErrorEncoding(FromUtf8Error)
Tuple Fields
InvalidResponse(String)
Tuple Fields
0: StringFault
ConnectionNotUpgraded
ErrorStack(ErrorStack)
Tuple Fields
0: ErrorStackUnsupportedScheme(String)
Tuple Fields
0: StringMissingAuthority
InvalidUrl(ParseError)
Tuple Fields
0: ParseErrorInvalidUri(InvalidUri)
Tuple Fields
0: InvalidUriInvalidPort(String)
Tuple Fields
0: StringInvalidProtocol(String)
Tuple Fields
0: StringMalformedVersion(String)
Tuple Fields
0: StringTrait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
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