Trait destream::en::ToStream[][src]

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

A data structure which can be borrowed to serialize into any supported stream encoding.

Required methods

Serialize this value into the given encoder.

Implementations on Foreign Types

Implementors