Trait rlp::Decodable [−][src]
pub trait Decodable: Sized {
fn decode(rlp: &Rlp<'_>) -> Result<Self, DecoderError>;
}
Expand description
RLP decodable trait
Required methods
fn decode(rlp: &Rlp<'_>) -> Result<Self, DecoderError>
fn decode(rlp: &Rlp<'_>) -> Result<Self, DecoderError>
Decode a value from RLP bytes