pub enum Guarantee {
Filesystem,
Network,
ProcessTree,
User,
Resources,
}Expand description
One axis a confinement arm can promise, or refuse to promise.
Variants§
Filesystem
Writes through the working directory land on a copy; the tree the person has stays as it is.
Network
The command cannot open a network connection.
ProcessTree
The whole process tree ends when the command ends.
User
The command runs with an identity of its own.
Resources
CPU and memory ceilings are enforced, not merely asked for.
Implementations§
Trait Implementations§
impl Copy for Guarantee
impl Eq for Guarantee
Source§impl Ord for Guarantee
impl Ord for Guarantee
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 PartialOrd for Guarantee
impl PartialOrd for Guarantee
impl StructuralPartialEq for Guarantee
Auto Trait Implementations§
impl Freeze for Guarantee
impl RefUnwindSafe for Guarantee
impl Send for Guarantee
impl Sync for Guarantee
impl Unpin for Guarantee
impl UnsafeUnpin for Guarantee
impl UnwindSafe for Guarantee
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