Trait rlp::Decodable
[−]
[src]
pub trait Decodable: Sized { fn decode(rlp: &UntrustedRlp) -> Result<Self, DecoderError>; }
RLP decodable trait
Required Methods
fn decode(rlp: &UntrustedRlp) -> Result<Self, DecoderError>
Decode a value from RLP bytes
Implementations on Foreign Types
impl Decodable for bool
[src]
fn decode(rlp: &UntrustedRlp) -> Result<Self, DecoderError>
[src]
impl Decodable for Vec<u8>
[src]
fn decode(rlp: &UntrustedRlp) -> Result<Self, DecoderError>
[src]
impl<T> Decodable for Option<T> where
T: Decodable,
[src]
T: Decodable,