pub trait Encoder {
    // Required method
    fn encode(&self) -> Result<Encoded, Error>;
}

Required Methods§

Implementations on Foreign Types§

source§

impl Encoder for &str

source§

impl Encoder for String

source§

impl Encoder for Bytes

source§

impl Encoder for &[u8]

source§

impl Encoder for Vec<u8, Global>

Implementors§