pub enum DockerTestError {
ContainerState {
current: ContainerState,
tried_to_enter: ContainerState,
},
Daemon(String),
Recoverable(String),
Teardown(String),
Pull {
repository: String,
tag: String,
error: String,
},
Startup(String),
Processing(String),
TestBody(String),
LogWriteError(String),
HostPort(String),
ContainerLogStream(String),
}
Expand description
Public library error conditions.
Variants§
ContainerState
Daemon(String)
Recoverable(String)
Teardown(String)
Pull
Startup(String)
Processing(String)
TestBody(String)
LogWriteError(String)
HostPort(String)
ContainerLogStream(String)
Trait Implementations§
Source§impl Clone for DockerTestError
impl Clone for DockerTestError
Source§fn clone(&self) -> DockerTestError
fn clone(&self) -> DockerTestError
Returns a copy of the value. Read more
1.0.0 · 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 DockerTestError
impl Debug for DockerTestError
Source§impl Display for DockerTestError
impl Display for DockerTestError
Source§impl Error for DockerTestError
impl Error for DockerTestError
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 PartialEq for DockerTestError
impl PartialEq for DockerTestError
impl Eq for DockerTestError
impl StructuralPartialEq for DockerTestError
Auto Trait Implementations§
impl Freeze for DockerTestError
impl RefUnwindSafe for DockerTestError
impl Send for DockerTestError
impl Sync for DockerTestError
impl Unpin for DockerTestError
impl UnwindSafe for DockerTestError
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