pub enum SandboxClass {
None,
Sandboxed,
Strict,
}Expand description
Sandbox enforcement tier derived from footprint (proposal §8.1).
Variants§
Trait Implementations§
Source§impl Clone for SandboxClass
impl Clone for SandboxClass
Source§fn clone(&self) -> SandboxClass
fn clone(&self) -> SandboxClass
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 SandboxClass
Source§impl Debug for SandboxClass
impl Debug for SandboxClass
Source§impl<'de> Deserialize<'de> for SandboxClass
impl<'de> Deserialize<'de> for SandboxClass
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SandboxClass
Source§impl PartialEq for SandboxClass
impl PartialEq for SandboxClass
Source§fn eq(&self, other: &SandboxClass) -> bool
fn eq(&self, other: &SandboxClass) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SandboxClass
impl Serialize for SandboxClass
impl StructuralPartialEq for SandboxClass
Auto Trait Implementations§
impl Freeze for SandboxClass
impl RefUnwindSafe for SandboxClass
impl Send for SandboxClass
impl Sync for SandboxClass
impl Unpin for SandboxClass
impl UnsafeUnpin for SandboxClass
impl UnwindSafe for SandboxClass
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