pub enum DecError {
DuringCreation(DecCreateError),
DuringUse(DecUseError),
}Expand description
Aggregator for converging creation and usage errors into a single, convenient error type.
Defines automatic Into conversions for each of its inner failure cases.
Use of this type is not required, but may be convenient for call sites that both create a DockerEngineClient and use it.
Variants§
DuringCreation(DecCreateError)
DuringUse(DecUseError)
Trait Implementations§
source§impl Error for DecError
impl Error for DecError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<DecCreateError> for DecError
impl From<DecCreateError> for DecError
source§fn from(other: DecCreateError) -> Self
fn from(other: DecCreateError) -> Self
Converts to this type from the input type.
source§impl From<DecUseError> for DecError
impl From<DecUseError> for DecError
source§fn from(other: DecUseError) -> Self
fn from(other: DecUseError) -> Self
Converts to this type from the input type.