pub fn new(bind_addr: SocketAddr) -> Self {
        ServerBuilder {
            bind_addr,
            logger: Logger::root(Discard, o!()),
            handlers: MessageHandlers(HashMap::new()),
            channel_options: ChannelOptions::default(),
            metrics: MetricBuilder::new(),
            handlers_metrics: HashMap::new(),
        }
    }
/// Makes a new `ServerBuilder` instance.
Makes a new `ServerBuilder` instance.
Makes a new ` ServerBuilder ` instance .
pub fn new(bind_addr: SocketAddr) -> Self {
        ServerBuilder {
            bind_addr,
            logger: Logger::root(Discard, o!()),
            handlers: MessageHandlers(HashMap::new()),
            channel_options: ChannelOptions::default(),
            metrics: MetricBuilder::new(),
            handlers_metrics: HashMap::new(),
        }
    }
pub fn new ( bind_addr : SocketAddr ) -> Self { ServerBuilder { bind_addr , logger : Logger :: root ( Discard , o ! ( ) ) , handlers : MessageHandlers ( HashMap :: new ( ) ) , channel_options : ChannelOptions :: default ( ) , metrics : MetricBuilder :: new ( ) , handlers_metrics : HashMap :: new ( ) , } }
Makes a new `ServerBuilder` instance.
Makes a new ` ServerBuilder ` instance .
bind_addr
SocketAddr
bind_addr
SocketAddr