Struct bollard::container::WaitContainerOptions
source · pub struct WaitContainerOptions<T>{
pub condition: T,
}
Expand description
Parameters used in the Wait Container API
§Examples
use bollard::container::WaitContainerOptions;
WaitContainerOptions{
condition: "not-running",
};
Fields§
§condition: T
Wait until a container state reaches the given condition, either ‘not-running’ (default), ‘next-exit’, or ‘removed’.
Trait Implementations§
source§impl<T> Clone for WaitContainerOptions<T>
impl<T> Clone for WaitContainerOptions<T>
source§fn clone(&self) -> WaitContainerOptions<T>
fn clone(&self) -> WaitContainerOptions<T>
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<T> Debug for WaitContainerOptions<T>
impl<T> Debug for WaitContainerOptions<T>
source§impl<T> Default for WaitContainerOptions<T>
impl<T> Default for WaitContainerOptions<T>
source§fn default() -> WaitContainerOptions<T>
fn default() -> WaitContainerOptions<T>
Returns the “default value” for a type. Read more
source§impl<T> PartialEq for WaitContainerOptions<T>
impl<T> PartialEq for WaitContainerOptions<T>
source§impl<T> Serialize for WaitContainerOptions<T>
impl<T> Serialize for WaitContainerOptions<T>
impl<T> StructuralPartialEq for WaitContainerOptions<T>
Auto Trait Implementations§
impl<T> Freeze for WaitContainerOptions<T>where
T: Freeze,
impl<T> RefUnwindSafe for WaitContainerOptions<T>where
T: RefUnwindSafe,
impl<T> Send for WaitContainerOptions<T>where
T: Send,
impl<T> Sync for WaitContainerOptions<T>where
T: Sync,
impl<T> Unpin for WaitContainerOptions<T>where
T: Unpin,
impl<T> UnwindSafe for WaitContainerOptions<T>where
T: UnwindSafe,
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)