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
Re-exports§
pub use oneshot_fused_workaround as oneshot;
Modules§
- Provides utilities for peeking at items in
futures::Stream.
Structs§
- Wrapper for
postage::watch::Senderthat sendsDropNotifyEof::eof()when dropped - Async readable/writeable that dispatches reads to
Rand writes toW mpsc::Sender::try_sendreturned an uncategorisable error- Future for
SinkPrepareExt::prepare_send_from - A
Sinkwhich is ready to receive an item
Enums§
- Type-erased error for
SinkTrySend::try_send
Traits§
- Values that can signal EOF
- Extension trait for some
postage::watch::Senderto providemaybe_send - Extension trait for
Sink - Extension trait for
Sinkto add a method for cancel-safe usage. - Error from
SinkTrySend::try_send
Functions§
- Precisely
futures::channel::mpsc::channel