Enum gaol::profile::OperationSupportLevel
source · pub enum OperationSupportLevel {
NeverAllowed,
CanBeAllowed,
CannotBeAllowedPrecisely,
AlwaysAllowed,
}
Expand description
How precisely an operation can be allowed on this platform.
Variants§
NeverAllowed
This operation is never allowed on this platform.
CanBeAllowed
This operation can be precisely allowed on this platform.
CannotBeAllowedPrecisely
This operation cannot be allowed precisely on this platform, but another set of operations allows it to be allowed on a more coarse-grained level. For example, on Linux, it is not possible to allow access to specific ports, but it is possible to allow network access entirely.
AlwaysAllowed
This operation is always allowed on this platform.
Trait Implementations§
source§impl Clone for OperationSupportLevel
impl Clone for OperationSupportLevel
source§fn clone(&self) -> OperationSupportLevel
fn clone(&self) -> OperationSupportLevel
Returns a copy 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 OperationSupportLevel
impl Debug for OperationSupportLevel
source§impl PartialEq for OperationSupportLevel
impl PartialEq for OperationSupportLevel
source§fn eq(&self, other: &OperationSupportLevel) -> bool
fn eq(&self, other: &OperationSupportLevel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for OperationSupportLevel
impl StructuralPartialEq for OperationSupportLevel
Auto Trait Implementations§
impl Freeze for OperationSupportLevel
impl RefUnwindSafe for OperationSupportLevel
impl Send for OperationSupportLevel
impl Sync for OperationSupportLevel
impl Unpin for OperationSupportLevel
impl UnwindSafe for OperationSupportLevel
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