Trait data_stream::ToStream[][src]

pub trait ToStream<S> {
    fn to_stream<W: Write>(&self, stream: &mut W) -> Result<(), WriteError>;
}
Expand description

A trait for types, which can be written to streams. Most argument types might need some settings.

Required methods

Writes a value of this type to a stream. Return an error on failure.

Implementations on Foreign Types

Implementors