pub enum SandboxRequirement {
Required,
BestEffort,
}Expand description
Whether absence of a control is fatal or may be reported as unavailable.
Variants§
Required
Refuse before execution when the launcher cannot prove this control.
BestEffort
Execute when possible and report whether this control was achieved.
Trait Implementations§
Source§impl Clone for SandboxRequirement
impl Clone for SandboxRequirement
Source§fn clone(&self) -> SandboxRequirement
fn clone(&self) -> SandboxRequirement
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 SandboxRequirement
Source§impl Debug for SandboxRequirement
impl Debug for SandboxRequirement
impl Eq for SandboxRequirement
Source§impl PartialEq for SandboxRequirement
impl PartialEq for SandboxRequirement
impl StructuralPartialEq for SandboxRequirement
Auto Trait Implementations§
impl Freeze for SandboxRequirement
impl RefUnwindSafe for SandboxRequirement
impl Send for SandboxRequirement
impl Sync for SandboxRequirement
impl Unpin for SandboxRequirement
impl UnsafeUnpin for SandboxRequirement
impl UnwindSafe for SandboxRequirement
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