Module pipe

Source
Expand description

Provides IO stream pipe functionality.

This module provides piping functionality for IO streams implementing Read or Write. A pipe can be used to wrap an existing reader or writer, monitoring or transforming data read from or written to it.

You may use a pipe for archiving (zipping) or to encrypt/decrypt bytes flowing through the pipe reader or writer.

Re-exports§

pub use progress::ProgressPipe;
pub use progress::ProgressReader;
pub use progress::ProgressReporter;
pub use progress::ProgressWriter;

Modules§

crypto
Provides pipes specific to cryptography.
prelude
Prelude for common pipe traits.
progress

Structs§

PipeReader
A simple generic reader implementation for a pipe.
PipeWriter
A simple generic writer implementation for a pipe.

Traits§

Pipe
Something that can pipe given data.
PipeLen
Defines number of bytes transformed into/out of pipe if fixed.
PipeRead
A reader wrapping another reader, to encrypt or decrypt data read from it.
PipeWrite
A writer wrapping another writher, to encrypt or decrypt data it is writen to.
ReadLen
WriteLen