pub struct SandboxManager;Expand description
Chooses runtime sandbox profiles for modes.
Implementations§
Source§impl SandboxManager
impl SandboxManager
Sourcepub fn profile_for_mode(mode_slug: &ModeSlug) -> SandboxProfile
pub fn profile_for_mode(mode_slug: &ModeSlug) -> SandboxProfile
Returns the recommended sandbox profile for a mode.
Ferrify keeps verifier stages read-only and uses a write-without-network profile for implementer stages. Unknown modes currently default to the conservative read-only profile.
Trait Implementations§
Source§impl Debug for SandboxManager
impl Debug for SandboxManager
Source§impl Default for SandboxManager
impl Default for SandboxManager
Source§fn default() -> SandboxManager
fn default() -> SandboxManager
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SandboxManager
impl RefUnwindSafe for SandboxManager
impl Send for SandboxManager
impl Sync for SandboxManager
impl Unpin for SandboxManager
impl UnsafeUnpin for SandboxManager
impl UnwindSafe for SandboxManager
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