pub trait Encodable {
fn rlp_append(&self, s: &mut RlpStream);
fn rlp_bytes(&self) -> ElasticArray1024<u8> { ... }
}
Expand description
Structure encodable to RLP
Required Methods§
sourcefn rlp_append(&self, s: &mut RlpStream)
fn rlp_append(&self, s: &mut RlpStream)
Append a value to the stream
Provided Methods§
sourcefn rlp_bytes(&self) -> ElasticArray1024<u8>
fn rlp_bytes(&self) -> ElasticArray1024<u8>
Get rlp-encoded bytes for this instance