[][src]Crate streams_rs

Modules

fn_stream
io_stream

Macros

smatch

Macro for matching on streams.

Enums

StreamError
StreamResult

Traits

Stream

Suppose you need to process each line of a text file. One way to do this is to read the file in as a single large string and use something like split to turn it into a list. This works when the file is small, but because the entire file is loaded into memory, it does not scale well when the file is large.

Type Definitions

StreamGetFn