Trait rlp::rlptraits::Encodable [] [src]

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

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

Structure encodable to RLP. Implement this trait for

Required Methods

Append a value to the stream

Provided Methods

Get rlp-encoded bytes for this instance

Implementors