Trait rlp::Decodable[][src]

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

RLP decodable trait

Required methods

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

Decode a value from RLP bytes

Loading content...

Implementations on Foreign Types

impl<T: Decodable> Decodable for Box<T>[src]

impl Decodable for bool[src]

impl Decodable for Vec<u8>[src]

impl Decodable for Bytes[src]

impl Decodable for BytesMut[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 u128[src]

impl Decodable for usize[src]

impl Decodable for String[src]

Loading content...

Implementors

Loading content...