pub trait Service: Send + Sync {
    fn bind(&mut self, addr: SocketAddr) -> Result<(), Error>;

    fn build(&mut self, _: &mut dyn Factory) -> Result<(), Error> { ... }
}

Required methods

Provided methods

Implementors