Function new_server_stoppable

Source
pub fn new_server_stoppable<D>(
    dispatch: D,
    settings: Settings,
) -> (Server<WireTxImpl, WireRxImpl, WireRxBuf, D>, Stopper)
where D: Dispatch<Tx = WireTxImpl>,
Expand description

Create a new server using the Settings and Dispatch implementation

Also returns a Stopper that can be used to halt the server’s operation