Enum bollard::errors::Error [−][src]
The type of error embedded in an Error.
Variants
Error emitted during client instantiation when the DOCKER_CERT_PATH
environment variable
is invalid.
Generic error when reading a certificate from the filesystem
Fields of CertPathError
path: PathBuf
Path for the failing certificate file
Error emitted when multiple keys are found in a certificate file
Fields of CertMultipleKeys
Parse error for RSA encrypted keys
Fields of CertParseError
path: PathBuf
Path for the failing certificate file
Error emitted by the docker server, when it responds with a 404.
Fields of DockerResponseNotFoundError
message: String
Message returned by the docker server.
Generic error emitted by the docker server.
Fields of DockerResponseServerError
Error emitted by the docker server, when it responds with a 400.
Fields of DockerResponseBadParameterError
message: String
Message returned by the docker server.
Error emitted by the docker server, when it responds with a 409.
Fields of DockerResponseConflictError
message: String
Message returned by the docker server.
Error emitted by the docker server, when it responds with a 304.
Fields of DockerResponseNotModifiedError
message: String
Message returned by the docker server.
Error facilitating debugging failed JSON parsing.
Fields of JsonDataError
Error emitted when the server version cannot be parsed when negotiating a version
Fields of APIVersionParseError
api_version: String
The api version returned by the server.
Error emitted when JSON fails to serialize.
Fields of JsonSerdeError
err: Error
The original error emitted by serde.
Error emitted when log output generates an I/O error.
Fields of StrParseError
err: Utf8Error
The original error emitted.
Error emitted from an I/O error.
Fields of IOError
err: Error
The original error emitted.
Error emitted from a formatting error.
Fields of StrFmtError
err: Error
The original error emitted.
Error emitted from an HTTP error.
Fields of HttpClientError
err: Error
The original error emitted.
Error emitted from an HTTP error.
Fields of HyperResponseError
err: Error
The original error emitted.
Error emitted when a request times out.
Error emitted when serde fails to urlencod a struct of options
Fields of URLEncodedError
err: Error
The original error emitted.
Trait Implementations
impl Debug for Error
[src]
impl Display for Error
[src]
impl Error for Error
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<Error> for Error
[src]
impl From<Error> for Error
[src]
impl From<Error> for Error
[src]
impl From<Error> for Error
[src]
impl From<Error> for Error
[src]
impl From<Error> for Error
[src]
impl From<Utf8Error> for Error
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Error
[src]
impl Send for Error
[src]
impl Sync for Error
[src]
impl Unpin for Error
[src]
impl !UnwindSafe for Error
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,