Function to_stream

Source
pub fn to_stream<S, V: ToStream<S> + ?Sized, W: Write>(
    value: &V,
    stream: &mut W,
) -> Result<()>
Expand description

A simple function to write a value to a stream.