Struct tetsy_rlp::Rlp[][src]

pub struct Rlp<'a> { /* fields omitted */ }
Expand description

Data-oriented view onto rlp-slice.

This is an immutable structure. No operations change it.

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

Implementations

Returns an Rlp item in a list at the given index.

Returns an error if this Rlp is not a list or if the index is out of range.

Returns an Rlp item in a list at the given index along with the byte offset into the raw data slice.

Returns an error if this Rlp is not a list or if the index is out of range.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

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

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.