[][src]Function thrussh::server::run

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

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