Struct tetsy_rlp::PayloadInfo[][src]

pub struct PayloadInfo {
    pub header_len: usize,
    pub value_len: usize,
}
Expand description

Stores basic information about item

Fields

header_len: usize

Header length in bytes

value_len: usize

Value length in bytes

Implementations

Total size of the RLP.

Create a new object from the given bytes RLP. The bytes

Trait Implementations

Formats the value using the given formatter. 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 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.