Crate data_stream
source ·Expand description
This crate simplifies writing data to and reading data from streams.
You just need to implement the traits ToStream
and FromStream
.
You might have to implement value specific traits to custom settings types.
Modules§
- Settings for collection streaming.
- Some simple default settings for streaming.
- Settings for number streaming.
Traits§
- A trait for types, which can be read from streams.
- A trait for types, which can be written to streams. Most argument types might need some settings.
Functions§
- A simple function to read a value from a stream.
- A simple function to write a value to a stream.