pub trait Create {
type Options;
type Error;
// Required method
fn create(
&mut self,
options: Self::Options,
) -> Result<ServiceHandle, Self::Error>;
}Expand description
Creation API used to create services
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".