pub async fn bind_udp<I>( interface: I, ) -> Result<UdpSocket, Box<dyn Error + Send + Sync>>where I: TryInto<Interface>, <I as TryInto<Interface>>::Error: Into<Box<dyn Error + Send + Sync>>,
udp
Creates a new UdpSocket, which will be bound to the specified Interface.
UdpSocket
Interface
The returned socket is ready for accepting connections and connecting to others.