[][src]Function yarws::bind

pub async fn bind<'_>(addr: &'_ str) -> Result<Listener, Error>

Binds tcp listener to the provided addr (ip:port).