[][src]Trait rlp::Decodable

pub trait Decodable: Sized {
    fn decode(rlp: &Rlp<'_>) -> Result<Self, DecoderError>;
}
[]

RLP decodable trait

Required methods

fn decode(rlp: &Rlp<'_>) -> Result<Self, DecoderError>[]

Decode a value from RLP bytes

Implementations on Foreign Types

impl Decodable for bool[src][]

impl Decodable for Vec<u8>[src][]

impl<T> Decodable for Option<T> where
    T: Decodable
[src][]

impl Decodable for u8[src][]

impl Decodable for u16[src][]

impl Decodable for u32[src][]

impl Decodable for u64[src][]

impl Decodable for usize[src][]

impl Decodable for String[src][]

Implementors