Enum dockertest::PullPolicy
source · pub enum PullPolicy {
Never,
Always,
IfNotPresent,
}
Expand description
The policy for pulling from remote locations.
Variants§
Never
Never pull - expect image to be present locally.
Always
Always attempt to pull, regardless if it exists locally or not.
IfNotPresent
Check if image is present locally first, only pull if not present.
Trait Implementations§
source§impl Clone for PullPolicy
impl Clone for PullPolicy
source§fn clone(&self) -> PullPolicy
fn clone(&self) -> PullPolicy
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 moreAuto Trait Implementations§
impl Freeze for PullPolicy
impl RefUnwindSafe for PullPolicy
impl Send for PullPolicy
impl Sync for PullPolicy
impl Unpin for PullPolicy
impl UnwindSafe for PullPolicy
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
)