Trait codicon::Encoder[][src]

pub trait Encoder<T, E = Error> {
    fn encode<W: Write>(&self, writer: &mut W, params: T) -> Result<(), E>;
}

Trait used to express encoding relationships.

Required Methods

Encodes to the writer with the given parameters.

Implementors