Enum pal::unix::process::SandboxFailureMode
source · pub enum SandboxFailureMode {
Silent,
Warn,
Error,
}
Expand description
The different failure modes for sandbox related syscalls.
Variants§
Silent
When a sandbox related syscall fails during process started, report no error and continue.
Warn
When a sandbox related syscall fails during process started, report a trace::warn, and continue.
Error
When a sandbox related syscall fails during process started, report no trace::error, and fail.
Trait Implementations§
source§impl Clone for SandboxFailureMode
impl Clone for SandboxFailureMode
source§fn clone(&self) -> SandboxFailureMode
fn clone(&self) -> SandboxFailureMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for SandboxFailureMode
impl Default for SandboxFailureMode
source§fn default() -> SandboxFailureMode
fn default() -> SandboxFailureMode
Returns the “default value” for a type. Read more
impl Copy for SandboxFailureMode
Auto Trait Implementations§
impl Freeze for SandboxFailureMode
impl RefUnwindSafe for SandboxFailureMode
impl Send for SandboxFailureMode
impl Sync for SandboxFailureMode
impl Unpin for SandboxFailureMode
impl UnwindSafe for SandboxFailureMode
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)