supertunnel 0.1.0

Build stateful proxy tunnels that resist network disruptions.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Synchronization and shared state primitives.
//!
//! This module provides specialized, thread-safe wrappers and mutexes
//! designed for use within asynchronous state machines. It enables
//! shared access to I/O streams and sinks across multiple concurrent tasks.

mod mutex;
mod sink;
mod stream;

pub use mutex::{PollMutex, PollMutexGuard};
pub use sink::{ChannelCommand, ChannelSink, SharedSink};
pub use stream::{ChannelStream, SharedReplaceableStream, SharedStream};