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