Trait rlp::Encodable[][src]

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

    fn rlp_bytes(&self) -> BytesMut { ... }
}

Structure encodable to RLP

Required methods

fn rlp_append(&self, s: &mut RlpStream)[src]

Append a value to the stream

Loading content...

Provided methods

fn rlp_bytes(&self) -> BytesMut[src]

Get rlp-encoded bytes for this instance

Loading content...

Implementations on Foreign Types

impl<T: Encodable + ?Sized> Encodable for Box<T>[src]

impl Encodable for bool[src]

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

impl Encodable for Vec<u8>[src]

impl Encodable for Bytes[src]

impl Encodable for BytesMut[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 u128[src]

impl Encodable for usize[src]

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

impl Encodable for String[src]

Loading content...

Implementors

Loading content...