Struct emerald_rs::RLPList [−][src]
pub struct RLPList { /* fields omitted */ }
A list serializable to RLP
Methods
impl RLPList
[src]
impl RLPList
pub fn from_slice<T: WriteRLP>(items: &[T]) -> RLPList
[src]
pub fn from_slice<T: WriteRLP>(items: &[T]) -> RLPList
Start with provided vector
pub fn push<T: WriteRLP + ?Sized>(&mut self, item: &T)
[src]
pub fn push<T: WriteRLP + ?Sized>(&mut self, item: &T)
Add an item to the list
Trait Implementations
impl Debug for RLPList
[src]
impl Debug for RLPList
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for RLPList
[src]
impl Default for RLPList
impl Into<Vec<u8>> for RLPList
[src]
impl Into<Vec<u8>> for RLPList
impl WriteRLP for RLPList
[src]
impl WriteRLP for RLPList