hickory_proto

Module runtime

Source
Expand description

Abstractions to deal with different async runtimes.

Structs§

  • TokioHandletokio-runtime
    A handle to the Tokio runtime
  • The Tokio Runtime for async execution
  • TokioTimetokio-runtime
    New type which is implemented using tokio::time::{Delay, Timeout}

Traits§

  • Generic executor.
  • QuicSocketBinderdns-over-quic or dns-over-h3
    Create a UDP socket for QUIC usage. This trait is designed for customization.
  • RuntimeProvider defines which async runtime that handles IO and timers.
  • A type defines the Handle which can spawn future.
  • Generic Time for Delay and Timeout.

Functions§

  • spawn_bgtokio-runtime
    Spawn a background task, if it was present