Module tor_rtcompat::traits

source ·
Expand description

Declarations for traits that we need our runtimes to implement.

Traits§

  • Trait for a runtime that can block on a future.
  • An object with a peer certificate: typically a TLS connection.
  • A provider of reduced-precision timestamps
  • A runtime that we can use to run Tor as a client.
  • Trait for a runtime that can wait until a timer has expired.
  • Trait for a local socket that accepts incoming TCP streams.
  • Trait for a runtime that can create and accept TCP connections.
  • An object that knows how to wrap a TCP connection (where the type of said TCP connection is S) with TLS.
  • Trait for a runtime that knows how to create TLS connections over TCP streams of type S.
  • Trait for a runtime that can send and receive UDP datagrams.
  • Trait for a locally bound Udp socket that can send and receive datagrams.