Struct rlp2::UntrustedRlp [] [src]

pub struct UntrustedRlp<'a> { /* fields omitted */ }

Data-oriented view onto rlp-slice.

This is immutable structere. No operations change it.

Should be used in places where, error handling is required, eg. on input

Methods

impl<'a, 'view> UntrustedRlp<'a> where
    'a: 'view, 
[src]

Trait Implementations

impl<'a> Debug for UntrustedRlp<'a>
[src]

Formats the value using the given formatter.

impl<'a> Clone for UntrustedRlp<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Display for UntrustedRlp<'a>
[src]

Formats the value using the given formatter. Read more

impl<'a, 'view> IntoIterator for &'view UntrustedRlp<'a> where
    'a: 'view, 
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

impl<'a> Compressible for UntrustedRlp<'a>
[src]

Indicates the origin of RLP to be compressed.

Compress given RLP type using appropriate methods.

Decompress given RLP type using appropriate methods.