Enum podman_api::opts::ContainerRestartPolicy
source · pub enum ContainerRestartPolicy {
Always,
No,
OnFailure,
UnlessStopped,
}Expand description
Used with
ContainerCreateOptsBuilder::restart_policy.
Variants§
Trait Implementations§
source§impl AsRef<str> for ContainerRestartPolicy
impl AsRef<str> for ContainerRestartPolicy
source§impl Clone for ContainerRestartPolicy
impl Clone for ContainerRestartPolicy
source§fn clone(&self) -> ContainerRestartPolicy
fn clone(&self) -> ContainerRestartPolicy
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 more