Trait destream::en::IntoStream[][src]

pub trait IntoStream<'en> {
    fn into_stream<E: Encoder<'en>>(self, encoder: E) -> Result<E::Ok, E::Error>;
}
Expand description

A data structure that can be serialized into any supported stream encoding.

This trait is automatically implemented for a borrow of ToStream, so prefer implementing ToStream itself.

Required methods

Take ownership of this value and serialize it into the given encoder.

Implementations on Foreign Types

Implementors