pub trait Locate {
type Options;
type Info;
type Error;
// Required method
fn locate(
&mut self,
options: Self::Options,
) -> Result<Self::Info, Self::Error>;
}Expand description
Locate API trait used to find 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".