pub trait RuntimeProvider: Clone + 'static {
    type Handle: Clone + Send + Spawn + Sync + Unpin;
    type Timer: Time + Send + Unpin;
    type Udp: UdpSocket + Send;
    type Tcp: Connect;
}
Expand description

RuntimeProvider defines which async runtime that handles IO and timers.

Required Associated Types

Handle to the executor;

Timer

UdpSocket

TcpStream

Implementors