Crate tor_async_utils
source ·Expand description
tor-async-utils
Utilities (low-level) for Tor
Miscellaneous futures-related utilities for tor-* and arti-*.
This crate lives near the bottom of the Tor crate stack.
If you find anything in this crate generally useful, it should probably move out into a crate of its own.
License: MIT OR Apache-2.0
Structs
- Wrapper for
postage::watch::Senderthat sendsDropNotifyEof::eof()when dropped - Async readable/writeable that dispatches reads to
Rand writes toW - Future for
SinkPrepareExt::prepare_send_from - A [
Sink] which is ready to receive an item
Traits
- Values that can signal EOF
- Extension trait for some
postage::watch::Senderto providemaybe_send - Extension trait for
Sink - Extension trait for [
Sink] to add a method for cancel-safe usage.