pub enum SandboxProfile {
ReadOnly,
RepoWrite,
NoNetwork,
FullDev,
CiOnly,
}Expand description
A coarse capability profile a caller may request of the sandbox.
Intentionally a small, stable set; saorsa-sandbox may refine it. The
variants describe what the caller wants confined, not how.
Variants§
ReadOnly
No writes anywhere (read-only views, inspection).
RepoWrite
Writes allowed inside the workspace only.
NoNetwork
Workspace writes plus no network egress.
FullDev
Full local dev (writes + network), still process-confined.
CiOnly
CI-only: enforced hermetic build, no host access.
Trait Implementations§
Source§impl Clone for SandboxProfile
impl Clone for SandboxProfile
Source§fn clone(&self) -> SandboxProfile
fn clone(&self) -> SandboxProfile
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 SandboxProfile
Source§impl Debug for SandboxProfile
impl Debug for SandboxProfile
impl Eq for SandboxProfile
Source§impl PartialEq for SandboxProfile
impl PartialEq for SandboxProfile
Source§fn eq(&self, other: &SandboxProfile) -> bool
fn eq(&self, other: &SandboxProfile) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SandboxProfile
Auto Trait Implementations§
impl Freeze for SandboxProfile
impl RefUnwindSafe for SandboxProfile
impl Send for SandboxProfile
impl Sync for SandboxProfile
impl Unpin for SandboxProfile
impl UnsafeUnpin for SandboxProfile
impl UnwindSafe for SandboxProfile
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