wiwi::encoding

Trait Encode

Source
pub trait Encode {
    // Required methods
    fn encode<E>(self) -> E::EncodeOutput
       where Self: Encodable<E>,
             E: Encoding;
    fn decode<E>(self) -> E::DecodeOutput
       where Self: Decodable<E>,
             E: Encoding;
}

Required Methods§

Source

fn encode<E>(self) -> E::EncodeOutput
where Self: Encodable<E>, E: Encoding,

Source

fn decode<E>(self) -> E::DecodeOutput
where Self: Decodable<E>, E: Encoding,

Implementors§

Source§

impl<T> Encode for T