Enum dockertest::StartPolicy
source · pub enum StartPolicy {
Relaxed,
Strict,
}
Expand description
Specifies the starting policy of a container specification.
- StartPolicy::Strict policy will enforce that the container is started in the order it was added to DockerTest.
- StartPolicy::Relaxed policy will not enforce any ordering, all container specifications with a relaxed policy will be started concurrently. These are all started asynchrously started before the strict policy containers are started sequentially.
Variants§
Relaxed
Concurrently start the Container with other Relaxed instances.
Strict
Start Containers’ sequentially in the order added to DockerTest.
Trait Implementations§
source§impl Clone for StartPolicy
impl Clone for StartPolicy
source§fn clone(&self) -> StartPolicy
fn clone(&self) -> StartPolicy
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 StartPolicy
impl Debug for StartPolicy
source§impl PartialEq for StartPolicy
impl PartialEq for StartPolicy
source§fn eq(&self, other: &StartPolicy) -> bool
fn eq(&self, other: &StartPolicy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for StartPolicy
impl StructuralPartialEq for StartPolicy
Auto Trait Implementations§
impl Freeze for StartPolicy
impl RefUnwindSafe for StartPolicy
impl Send for StartPolicy
impl Sync for StartPolicy
impl Unpin for StartPolicy
impl UnwindSafe for StartPolicy
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
)