Skip to main content

Module io

Module io 

Source
Expand description

Streaming I/O — file sources and sinks, TCP, byte framing, and compression.

This module provides Tokio-backed file and TCP I/O sources and sinks, delimiter- and length-field-based framing, gzip/deflate compression, and a StreamConverters bridge that adapts Tokio AsyncRead/AsyncWrite types to Datum streams.

Structs§

Compression
FileIO
Framing
InputStreamHandle
A blocking std::io::Read handle materialized by StreamConverters::as_input_stream.
IoResult
Akka-style materialized IO result for Tokio-backed file and TCP byte streams.
OutputStreamHandle
A blocking std::io::Write handle materialized by StreamConverters::as_output_stream.
StreamConverters
TcpBinding
TcpConnection
TcpIncomingConnection
A TCP connection accepted by TokioTcp::bind.
TokioFileIO
TokioTcp

Enums§

FramingByteOrder

Type Aliases§

TokioByteSink
TokioByteSource