pub struct GuardSetOptions {
pub network: Option<String>,
pub create_network: bool,
pub remove_network_on_drop: bool,
pub keep_on_panic: bool,
pub wait_for_ready: bool,
}Expand description
Options for ContainerGuardSet.
Fields§
§network: Option<String>Shared network for all containers
create_network: boolCreate the network if it doesn’t exist (default: true)
remove_network_on_drop: boolRemove the network on drop (default: true when network is set)
keep_on_panic: boolKeep containers running if test panics (default: false)
wait_for_ready: boolWait for each container to be ready after starting (default: true)
Trait Implementations§
Source§impl Clone for GuardSetOptions
impl Clone for GuardSetOptions
Source§fn clone(&self) -> GuardSetOptions
fn clone(&self) -> GuardSetOptions
Returns a duplicate 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 GuardSetOptions
impl Debug for GuardSetOptions
Source§impl Default for GuardSetOptions
impl Default for GuardSetOptions
Source§fn default() -> GuardSetOptions
fn default() -> GuardSetOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GuardSetOptions
impl RefUnwindSafe for GuardSetOptions
impl Send for GuardSetOptions
impl Sync for GuardSetOptions
impl Unpin for GuardSetOptions
impl UnwindSafe for GuardSetOptions
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