Trait rlp::Encodable

source ·
pub trait Encodable {
    fn rlp_append(&self, s: &mut RlpStream);

    fn rlp_bytes(&self) -> ElasticArray1024<u8> { ... }
}
Expand description

Structure encodable to RLP

Required Methods§

Append a value to the stream

Provided Methods§

Get rlp-encoded bytes for this instance

Implementations on Foreign Types§

Implementors§