Module barter_integration::socket
source · [−]Expand description
Contains an ExchangeSocket capable of acting as a Stream and Sink for a given remote
server.
Modules
Custom SocketErrors generated by an ExchangeSocket.
Contains ProtocolParser implementations for transforming communication protocol specific
messages into a generic output data structure.
Structs
Generic event generated by an ExchangeSocket Stream. Contains a monotonically increasing
sequence number to support determining event order from the socket.
An ExchangeSocket is capable of acting as both a Stream and a Sink with any communication
protocol. It streams exchange messages from the inner socket and transforms them into the
desired output data structure.
Traits
Transformers are capable of transforming any Input into an iterator of
Result<Output, SocketError>s.