pub enum SecurityModel {
Passthrough,
MappedXAttr,
MappedFile,
None,
}Expand description
QEMU security_model= values for -fsdev local.
Variants§
Trait Implementations§
Source§impl Arbitrary for SecurityModel
impl Arbitrary for SecurityModel
Source§type Parameters = ()
type Parameters = ()
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = TupleUnion<((u32, Arc<fn() -> SecurityModel>), (u32, Arc<fn() -> SecurityModel>), (u32, Arc<fn() -> SecurityModel>), (u32, Arc<fn() -> SecurityModel>))>
type Strategy = TupleUnion<((u32, Arc<fn() -> SecurityModel>), (u32, Arc<fn() -> SecurityModel>), (u32, Arc<fn() -> SecurityModel>), (u32, Arc<fn() -> SecurityModel>))>
The type of
Strategy used to generate values of type Self.Source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
Source§impl Clone for SecurityModel
impl Clone for SecurityModel
Source§fn clone(&self) -> SecurityModel
fn clone(&self) -> SecurityModel
Returns a duplicate 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 Debug for SecurityModel
impl Debug for SecurityModel
Source§impl FromStr for SecurityModel
impl FromStr for SecurityModel
Source§impl Hash for SecurityModel
impl Hash for SecurityModel
Source§impl Ord for SecurityModel
impl Ord for SecurityModel
Source§fn cmp(&self, other: &SecurityModel) -> Ordering
fn cmp(&self, other: &SecurityModel) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SecurityModel
impl PartialEq for SecurityModel
Source§impl PartialOrd for SecurityModel
impl PartialOrd for SecurityModel
impl Eq for SecurityModel
impl StructuralPartialEq for SecurityModel
Auto Trait Implementations§
impl Freeze for SecurityModel
impl RefUnwindSafe for SecurityModel
impl Send for SecurityModel
impl Sync for SecurityModel
impl Unpin for SecurityModel
impl UnsafeUnpin for SecurityModel
impl UnwindSafe for SecurityModel
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