pub enum DockerError {
NotModified,
BadRequest,
Unauthorized,
Forbidden,
NotFound,
Conflict,
ServerError,
Other {
status_code: Option<u16>,
message: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for DockerError
impl Clone for DockerError
Source§fn clone(&self) -> DockerError
fn clone(&self) -> DockerError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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
1.30.0 · 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<DockerError> for GetDeploymentError
impl From<DockerError> for GetDeploymentError
Source§fn from(source: DockerError) -> Self
fn from(source: DockerError) -> Self
Converts to this type from the input type.
Source§impl From<DockerError> for PullImageError
impl From<DockerError> for PullImageError
Source§fn from(source: DockerError) -> Self
fn from(source: DockerError) -> Self
Converts to this type from the input type.
Source§impl From<DockerError> for WatchDeploymentError
impl From<DockerError> for WatchDeploymentError
Source§fn from(source: DockerError) -> Self
fn from(source: DockerError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for DockerError
impl From<Error> for DockerError
Source§impl PartialEq for DockerError
impl PartialEq for DockerError
Source§fn eq(&self, other: &DockerError) -> bool
fn eq(&self, other: &DockerError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq 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 UnsafeUnpin 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