1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-11-23 21:51:06 +01:00

Merge remote-tracking branch 'origin/fallible-services' into fallible-services

This commit is contained in:
Rob Ede 2021-11-01 03:21:03 +00:00
commit a9251474c1
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933

View File

@ -163,6 +163,8 @@ impl ServerBuilder {
/// Binds to all network interface addresses that resolve from the `addr` argument. /// Binds to all network interface addresses that resolve from the `addr` argument.
/// Eg. using `localhost` might bind to both IPv4 and IPv6 addresses. Bind to multiple distinct /// Eg. using `localhost` might bind to both IPv4 and IPv6 addresses. Bind to multiple distinct
/// interfaces at the same time by passing a list of socket addresses. /// interfaces at the same time by passing a list of socket addresses.
///
/// This fails only if all addresses fail to bind.
pub fn bind<F, U, InitErr>( pub fn bind<F, U, InitErr>(
mut self, mut self,
name: impl AsRef<str>, name: impl AsRef<str>,