Struct SandboxExtraRoots
pub struct SandboxExtraRoots {
pub read_write: Vec<PathBuf>,
pub read_only: Vec<PathBuf>,
pub write_only: Vec<PathBuf>,
}Expand description
Extra filesystem roots beyond the primary workspace that a sandbox should
also grant access to, mirroring SecurityPolicy’s allowed-roots tiers
(allowed_roots, allowed_roots_read_only, allowed_roots_write_only).
Only backends that build per-path rulesets (currently Landlock) consume
this; others ignore it.
Fields§
§read_write: Vec<PathBuf>§read_only: Vec<PathBuf>§write_only: Vec<PathBuf>Trait Implementations§
Source§impl Clone for SandboxExtraRoots
impl Clone for SandboxExtraRoots
Source§fn clone(&self) -> SandboxExtraRoots
fn clone(&self) -> SandboxExtraRoots
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SandboxExtraRoots
impl Debug for SandboxExtraRoots
Source§impl Default for SandboxExtraRoots
impl Default for SandboxExtraRoots
Source§fn default() -> SandboxExtraRoots
fn default() -> SandboxExtraRoots
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SandboxExtraRoots
impl RefUnwindSafe for SandboxExtraRoots
impl Send for SandboxExtraRoots
impl Sync for SandboxExtraRoots
impl Unpin for SandboxExtraRoots
impl UnsafeUnpin for SandboxExtraRoots
impl UnwindSafe for SandboxExtraRoots
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more