Function vsmtp_server::socket_bind_anyhow
pub fn socket_bind_anyhow<A: ToSocketAddrs + Debug>(
addr: A
) -> Result<TcpListener>Expand description
Create a TCPListener ready to be listened to
Errors
- failed to bind to the socket address
- failed to set the listener to non blocking