pub trait EncodableTextChunk {
    // Required method
    fn encode<W: Write>(&self, w: &mut W) -> Result<(), EncodingError>;
}
Expand description

A generalized text chunk trait

Required Methods§

source

fn encode<W: Write>(&self, w: &mut W) -> Result<(), EncodingError>

Encode text chunk as Vec to a Write

Implementors§