pub enum DockerError {
Show 17 variants
Connection(String),
ContainerNotFound(String),
ImageNotFound(String),
NetworkNotFound(String),
VolumeNotFound(String),
BuildFailed(String),
PushFailed(String),
PullFailed(String),
ContainerOperationFailed(String),
ImageOperationFailed(String),
InvalidConfiguration(String),
InvalidImageTag(String),
AuthenticationFailed(String),
Io(Error),
Api(Error),
Serialization(Error),
Other(String),
}Expand description
Main error type for docker-client operations.
Variants§
Connection(String)
Error connecting to Docker daemon
ContainerNotFound(String)
Container not found
ImageNotFound(String)
Image not found
NetworkNotFound(String)
Network not found
VolumeNotFound(String)
Volume not found
BuildFailed(String)
Build operation failed
PushFailed(String)
Push operation failed
PullFailed(String)
Pull operation failed
ContainerOperationFailed(String)
Container operation failed
ImageOperationFailed(String)
Image operation failed
InvalidConfiguration(String)
Invalid configuration
InvalidImageTag(String)
Invalid image tag format
AuthenticationFailed(String)
Authentication failed
Io(Error)
I/O error
Api(Error)
Bollard API error
Serialization(Error)
Serialization error
Other(String)
Generic error
Trait Implementations§
Source§impl Debug for DockerError
impl Debug for DockerError
Source§impl Display for DockerError
impl Display for DockerError
Source§impl Error for DockerError
impl Error for DockerError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<&str> for DockerError
impl From<&str> for DockerError
Source§impl From<Error> for DockerError
impl From<Error> for DockerError
Source§impl From<Error> for DockerError
impl From<Error> for DockerError
Source§impl From<Error> for DockerError
impl From<Error> for DockerError
Auto Trait Implementations§
impl Freeze for DockerError
impl !RefUnwindSafe for DockerError
impl Send for DockerError
impl Sync for DockerError
impl Unpin for DockerError
impl !UnwindSafe for DockerError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more