pub enum CreateDeploymentError {
CreateContainer(Error),
PullImage(PullImageError),
ContainerAlreadyExists(String),
ContainerInspect(Error),
UnhealthyDeployment(String),
GetDeploymentError(GetDeploymentError),
WatchDeployment(WatchDeploymentError),
ReceiveDeployment(RecvError),
}Variants§
CreateContainer(Error)
PullImage(PullImageError)
ContainerAlreadyExists(String)
ContainerInspect(Error)
UnhealthyDeployment(String)
GetDeploymentError(GetDeploymentError)
WatchDeployment(WatchDeploymentError)
ReceiveDeployment(RecvError)
Trait Implementations§
Source§impl Debug for CreateDeploymentError
impl Debug for CreateDeploymentError
Source§impl Display for CreateDeploymentError
impl Display for CreateDeploymentError
Source§impl Error for CreateDeploymentError
impl Error for CreateDeploymentError
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<PullImageError> for CreateDeploymentError
impl From<PullImageError> for CreateDeploymentError
Source§fn from(source: PullImageError) -> Self
fn from(source: PullImageError) -> Self
Converts to this type from the input type.
Source§impl From<RecvError> for CreateDeploymentError
impl From<RecvError> for CreateDeploymentError
Source§impl From<WatchDeploymentError> for CreateDeploymentError
impl From<WatchDeploymentError> for CreateDeploymentError
Source§fn from(source: WatchDeploymentError) -> Self
fn from(source: WatchDeploymentError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CreateDeploymentError
impl !RefUnwindSafe for CreateDeploymentError
impl Send for CreateDeploymentError
impl Sync for CreateDeploymentError
impl Unpin for CreateDeploymentError
impl UnsafeUnpin for CreateDeploymentError
impl !UnwindSafe for CreateDeploymentError
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