Crate ttyrec[][src]

Expand description

This crate contains helpers for reading and writing ttyrec files.

Parser and Creator can be used to read and write files manually, and Reader and Writer are helpers to provide a nicer API for asynchronous applications using futures. Additionally, blocking::Reader and blocking::Writer provide a similar API for non-asynchronous applications.

If you do not need the async API, the futures dependency can be removed by building with default_features = false (by default, the "async" feature is enabled).

Modules

Structs

Creates ttyrec frames.

Represents a single ttyrec frame.

Parses ttyrec streams.

Reads ttyrec frames from a [futures_lite::io::AsyncRead] instance.

Writes ttyrec frames to a [futures_lite::io::AsyncWrite] instance.

Enums

Errors potentially returned by this crate.

Type Definitions