Enum dockertest::DockerTestError
source · 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)>
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
source§fn eq(&self, other: &DockerTestError) -> bool
fn eq(&self, other: &DockerTestError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)