pub trait IntoSandbox {
// Required method
fn into_sandbox(self) -> Arc<dyn Sandbox> ⓘ;
}Expand description
What the builder’s sandbox(..) setter takes: a sandbox by value, an Arc of one, or an
Arc<dyn Sandbox> (kept as is, so the agent’s sandbox is the
same instance).
Required Methods§
Sourcefn into_sandbox(self) -> Arc<dyn Sandbox> ⓘ
fn into_sandbox(self) -> Arc<dyn Sandbox> ⓘ
The sandbox, shared.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".