pub struct SandboxedProcess { /* private fields */ }Available on non-FreeBSD only.
Expand description
Placeholder for a sandboxed plugin process.
On non-FreeBSD targets per-plugin pdfork isolation is unavailable:
spawn_isolated always returns an error, so no instance can ever be
constructed. The type exists only so the public API (and crate
re-exports) compiles on every target.
Implementations§
Source§impl SandboxedProcess
impl SandboxedProcess
Sourcepub fn request_metadata(&mut self) -> Result<PluginMetadataPayload>
pub fn request_metadata(&mut self) -> Result<PluginMetadataPayload>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SandboxedProcess
impl RefUnwindSafe for SandboxedProcess
impl Send for SandboxedProcess
impl Sync for SandboxedProcess
impl Unpin for SandboxedProcess
impl UnsafeUnpin for SandboxedProcess
impl UnwindSafe for SandboxedProcess
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