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