Trait UninitializedSandbox

Source
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§

Source

fn get_uninitialized_sandbox(&self) -> &UninitializedSandbox

Retrieves reference to strongly typed UninitializedSandbox

Source

fn get_uninitialized_sandbox_mut(&mut self) -> &mut UninitializedSandbox

Retrieves mutable reference to strongly typed UninitializedSandbox

Provided Methods§

Source

fn is_running_in_process(&self) -> bool

Returns true if the Sandbox is configured to run in process otherwise false

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.

Implementors§