pub trait UninitializedSandbox: Sandbox {
// Required methods
fn get_uninitialized_sandbox(&self) -> &UninitializedSandbox;
fn get_uninitialized_sandbox_mut(&mut self) -> &mut UninitializedSandbox;
// Provided method
fn is_running_in_process(&self) -> bool { ... }
}Expand description
A utility trait to recognize a Sandbox that has not yet been initialized. It allows retrieval of a strongly typed UninitializedSandbox.
Required Methods§
fn get_uninitialized_sandbox(&self) -> &UninitializedSandbox
fn get_uninitialized_sandbox_mut(&mut self) -> &mut UninitializedSandbox
Provided Methods§
fn is_running_in_process(&self) -> bool
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.