atomr-core 0.3.0

Actors, supervision, dispatch, mailboxes, scheduler, FSM, event stream, and coordinated shutdown — the core of the atomr actor runtime.
Documentation
1
2
3
4
5
6
7
8
9
10
//! UDP helpers.

use std::io;
use std::net::SocketAddr;

use tokio::net::UdpSocket;

pub async fn bind(addr: SocketAddr) -> io::Result<UdpSocket> {
    UdpSocket::bind(addr).await
}