Struct NoopSandbox
pub struct NoopSandbox;Trait Implementations§
Source§impl Clone for NoopSandbox
impl Clone for NoopSandbox
Source§fn clone(&self) -> NoopSandbox
fn clone(&self) -> NoopSandbox
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 NoopSandbox
impl Debug for NoopSandbox
Source§impl Default for NoopSandbox
impl Default for NoopSandbox
Source§fn default() -> NoopSandbox
fn default() -> NoopSandbox
Returns the “default value” for a type. Read more
Source§impl Sandbox for NoopSandbox
impl Sandbox for NoopSandbox
fn wrap_command(&self, _cmd: &mut Command) -> Result<()>
fn is_available(&self) -> bool
Source§fn name(&self) -> &str
fn name(&self) -> &str
Return the human-readable name of this sandbox backend.
Used in logs and diagnostics to identify which isolation strategy is
active (e.g.,
"firejail", "bubblewrap", "none").Source§fn description(&self) -> &str
fn description(&self) -> &str
Return a brief description of the isolation guarantees this sandbox provides.
Displayed in status output and health checks so operators can verify
the active security posture.
Auto Trait Implementations§
impl Freeze for NoopSandbox
impl RefUnwindSafe for NoopSandbox
impl Send for NoopSandbox
impl Sync for NoopSandbox
impl Unpin for NoopSandbox
impl UnsafeUnpin for NoopSandbox
impl UnwindSafe for NoopSandbox
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
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