pub fn bind(
        self,
        addr: impl Into<SocketAddr> + 'static,
    ) -> impl Future<Output = ()> + 'static {
        let (_, fut) = self.bind_ephemeral(addr);
        fut
    }
/// Bind to a socket address, returning a `Future` that can be
/// executed on any runtime.
///
/// # Panics
///
/// Panics if we are unable to bind to the provided address.
Bind to a socket address, returning a `Future` that can be
executed on any runtime.
Bind to a socket address returning a ` Future ` that can be executed on any runtime .
pub fn bind(
        self,
        addr: impl Into<SocketAddr> + 'static,
    ) -> impl Future<Output = ()> + 'static {
        let (_, fut) = self.bind_ephemeral(addr);
        fut
    }
pub fn bind ( self , addr : impl Into < SocketAddr > + ' static , ) -> impl Future < Output = ( ) > + ' static { let ( _ , fut ) = self . bind_ephemeral ( addr ) ; fut }
Bind to a socket address, returning a `Future` that can be
executed on any runtime.
Bind to a socket address returning a ` Future ` that can be executed on any runtime .
self
addr
impl Into<SocketAddr> + 'static
panics
Panics if we are unable to bind to the provided address.
Panics if we are unable to bind to the provided address .