pub trait Decoder: Sized {
    // Required method
    fn from_encoded(encoded: &Encoded) -> Result<Self, Error>;
}

Required Methods§

source

fn from_encoded(encoded: &Encoded) -> Result<Self, Error>

Implementations on Foreign Types§

source§

impl Decoder for Vec<u8, Global>

source§

impl Decoder for Bytes

source§

impl Decoder for String

Implementors§