pub trait Insert: Sized {
type Inserted;
// Required method
fn insert(self, services: &mut Services) -> Self::Inserted;
}Expand description
Insert an object into its respective store
This is the only primitive operation that is directly understood by
Service<Objects>. All other operations are built on top of it.
Required Associated Types§
Required Methods§
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.