pub enum RequiredLevel {
HookOnly,
HookAndOsSandbox,
}Expand description
A protection level a policy can require, weakest first, so the derived order is “at least as protected as”.
Variants§
HookOnly
OpenMoat’s hook decides the agent’s calls (openmoat status’s
hook-only or better).
HookAndOsSandbox
The hook decides, and an OS sandbox from OpenMoat holds the commands
the agent runs (hook-and-os-sandbox): the host’s own sandbox as
OpenMoat configured it, or openmoat run.
Implementations§
Trait Implementations§
Source§impl Clone for RequiredLevel
impl Clone for RequiredLevel
impl Copy for RequiredLevel
Source§impl Debug for RequiredLevel
impl Debug for RequiredLevel
Source§impl<'de> Deserialize<'de> for RequiredLevel
impl<'de> Deserialize<'de> for RequiredLevel
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 RequiredLevel
Source§impl Hash for RequiredLevel
impl Hash for RequiredLevel
Source§impl Ord for RequiredLevel
impl Ord for RequiredLevel
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for RequiredLevel
impl PartialEq for RequiredLevel
Source§impl PartialOrd for RequiredLevel
impl PartialOrd for RequiredLevel
Source§impl Serialize for RequiredLevel
impl Serialize for RequiredLevel
impl StructuralPartialEq for RequiredLevel
Auto Trait Implementations§
impl Forget for RequiredLevel
impl Freeze for RequiredLevel
impl RefUnwindSafe for RequiredLevel
impl Send for RequiredLevel
impl Sync for RequiredLevel
impl Unpin for RequiredLevel
impl UnsafeUnpin for RequiredLevel
impl UnwindSafe for RequiredLevel
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