Module util

Source
Expand description

Utilities used for the tor protocol.

Modules§

ct 🔒
Constant-time utilities.
err 🔒
Define an error type for the tor-proto crate.
keyed_futures_unordered 🔒
Provides KeyedFuturesUnordered
oneshot_broadcast 🔒
A oneshot broadcast channel.
skew 🔒
Tools and types for reporting declared clock skew.
sometimes_unbounded_sink 🔒
SometimesUnboundedSink
stream_poll_set 🔒
Provides StreamPollSet
token_bucket 🔒
A token bucket implementation, and async types which use the token bucket for rate limiting.
ts 🔒
Implement a fast ‘timestamp’ for determining when an event last happened.

Traits§

SinkExt 🔒
Extension trait for Sink

Functions§

fake_mq 🔒 testing
Convenience alias for memquota::SpecificAccount::new_noop()