[][src]Trait rlp::Encodable

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

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

Structure encodable to RLP

Required methods

fn rlp_append(&self, s: &mut RlpStream)

Append a value to the stream

Loading content...

Provided methods

fn rlp_bytes(&self) -> Vec<u8>

Get rlp-encoded bytes for this instance

Loading content...

Implementations on Foreign Types

impl Encodable for bool[src]

impl<'a> Encodable for &'a [u8][src]

impl Encodable for Vec<u8>[src]

impl<T> Encodable for Option<T> where
    T: Encodable
[src]

impl Encodable for u8[src]

impl Encodable for u16[src]

impl Encodable for u32[src]

impl Encodable for u64[src]

impl Encodable for usize[src]

impl<'a> Encodable for &'a str[src]

impl Encodable for String[src]

Loading content...

Implementors

Loading content...