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:
commit
a9251474c1
@ -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>,
|
||||||
|
Loading…
Reference in New Issue
Block a user