Trait rlp::rlptraits::RlpDecodable
[−]
[src]
pub trait RlpDecodable: Sized {
fn decode<D>(decoder: &D) -> Result<Self, DecoderError> where D: Decoder;
}
Internal helper trait. Implement Decodable
for custom types.
Required Methods
fn decode<D>(decoder: &D) -> Result<Self, DecoderError> where D: Decoder
Decode a value from RLP bytes