Module scuttlebutt::channel 
source · [−]Expand description
Module for encapsulating communication channels for swanky.
Structs
A standard read/write channel that implements 
AbstractChannel.An instantiation of the 
AbstractChannel trait which computes a running
hash of all bytes read from and written to the channel.Standard Read/Write channel built from a symmetric stream.
A channel that implements 
AbstractChannel as well as Send and Sync.A channel wrapping another channel for tracking the number of bits read/written.
Traits
A trait for managing I/O. 
AbstractChannels are clonable, and provide basic
read/write capabilities for both common and scuttlebutt-specific types.Functions
Convenience function to create a pair of TrackUnixChannels for local tests in 
swanky.Convenience function to create a pair of UnixChannels for local tests in 
swanky.Type Definitions
A TrackChannel which uses UnixStreams.
A SyncChannel which uses UnixStreams.