Trait pbcodec::traits::Encode [] [src]

pub trait Encode<W: Write>: Sized {
    type Future: Future<Item = W, Error = Error<W>>;
    fn encode(self, writer: W) -> Self::Future;
fn encoded_size(&self) -> u64; }

Associated Types

Required Methods

Implementors