[][src]Module snap::write

This module provides a std::io::Write implementation:

  • write::FrameEncoder wraps another std::io::Write implemenation, and compresses data encoded using the Snappy frame format. Use this if you have uncompressed data source and wish to write it as compressed data.

It would also be possible to provide a write::FrameDecoder, which decompresses data as it writes it, but it hasn't been implemented yet.

Structs

FrameEncoder

A writer for compressing a Snappy stream.

IntoInnerError

IntoInnerError occurs when consuming an encoder fails.