Function thrussh::server::run

source ·
pub async fn run<H: Server + Send + 'static>(
    config: Arc<Config>,
    addr: &str,
    server: H
) -> Result<(), Error>
Expand description

Run a server. Create a new Connection from the server’s configuration, a stream and a Handler.