Module util

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
notify πŸ”’
An async notification channel.
oneshot_broadcast πŸ”’
A oneshot broadcast channel.
poll_all πŸ”’
PollAll
sink_blocker πŸ”’
Implement SinkBlocker, a wrapper type to allow policy-based blocking of a [futures::Sink].
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.
tunnel_activity πŸ”’
Helpers for tracking whether a tunnel or circuit is still active.

TraitsΒ§

SinkExt πŸ”’
Extension trait for Sink

FunctionsΒ§

fake_mq πŸ”’ testing
Convenience alias for memquota::SpecificAccount::new_noop()