pub enum SeccompPolicy {
Empty,
Default,
Image,
}Expand description
Used with ContainerCreateOptsBuilder::seccomp_policy.
Variants§
Trait Implementations§
Source§impl AsRef<str> for SeccompPolicy
impl AsRef<str> for SeccompPolicy
Source§impl Clone for SeccompPolicy
impl Clone for SeccompPolicy
Source§fn clone(&self) -> SeccompPolicy
fn clone(&self) -> SeccompPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SeccompPolicy
Source§impl Debug for SeccompPolicy
impl Debug for SeccompPolicy
Source§impl Default for SeccompPolicy
impl Default for SeccompPolicy
Source§fn default() -> SeccompPolicy
fn default() -> SeccompPolicy
Returns the “default value” for a type. Read more
Source§impl Display for SeccompPolicy
impl Display for SeccompPolicy
impl Eq for SeccompPolicy
Source§impl PartialEq for SeccompPolicy
impl PartialEq for SeccompPolicy
Source§fn eq(&self, other: &SeccompPolicy) -> bool
fn eq(&self, other: &SeccompPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SeccompPolicy
Auto Trait Implementations§
impl Freeze for SeccompPolicy
impl RefUnwindSafe for SeccompPolicy
impl Send for SeccompPolicy
impl Sync for SeccompPolicy
impl Unpin for SeccompPolicy
impl UnsafeUnpin for SeccompPolicy
impl UnwindSafe for SeccompPolicy
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