pub enum RiskClass {
ReadOnly,
LowMutation,
FileMutation,
ShellMutation,
Network,
Process,
ExternalAccess,
SystemMutation,
Destructive,
}Variants§
ReadOnly
LowMutation
FileMutation
ShellMutation
Network
Process
ExternalAccess
SystemMutation
Machine-scoped package operations (npm -g, cargo install,
pip install, brew/apt/winget installs): they mutate the
MACHINE, not the project — outside checkpoint reach, visible to every
other project — so the system_installs floor vets them even in
full_access. Project-local installs (npm install, cargo add)
deliberately stay Process.
Destructive
Implementations§
Trait Implementations§
impl Copy for RiskClass
Source§impl<'de> Deserialize<'de> for RiskClass
impl<'de> Deserialize<'de> for RiskClass
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 RiskClass
impl StructuralPartialEq for RiskClass
Auto Trait Implementations§
impl Freeze for RiskClass
impl RefUnwindSafe for RiskClass
impl Send for RiskClass
impl Sync for RiskClass
impl Unpin for RiskClass
impl UnsafeUnpin for RiskClass
impl UnwindSafe for RiskClass
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