pub trait ServiceBuilder {
type Service: Service + 'static;
// Required method
fn build(self, id: usize, on: Arc<dyn Host>) -> Self::Service;
}Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".