#[non_exhaustive]pub enum SelinuxRelabel {
Shared,
Private,
}Expand description
SELinux label sharing requested for a bind mount.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Share the relabeled content between multiple containers (z).
Private
Give the content a private label for one container (Z).
Trait Implementations§
Source§impl Clone for SelinuxRelabel
impl Clone for SelinuxRelabel
Source§fn clone(&self) -> SelinuxRelabel
fn clone(&self) -> SelinuxRelabel
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 SelinuxRelabel
Source§impl Debug for SelinuxRelabel
impl Debug for SelinuxRelabel
impl Eq for SelinuxRelabel
Source§impl PartialEq for SelinuxRelabel
impl PartialEq for SelinuxRelabel
impl StructuralPartialEq for SelinuxRelabel
Auto Trait Implementations§
impl Freeze for SelinuxRelabel
impl RefUnwindSafe for SelinuxRelabel
impl Send for SelinuxRelabel
impl Sync for SelinuxRelabel
impl Unpin for SelinuxRelabel
impl UnsafeUnpin for SelinuxRelabel
impl UnwindSafe for SelinuxRelabel
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