pub struct OwnedNode<D: Borrow<[u8]>> { /* private fields */ }
Expand description

An OwnedNode is an owned type from which a Node can be constructed which borrows data from the OwnedNode. This is useful for trie iterators.

Implementations

Construct an OwnedNode by decoding an owned data source according to some codec.

Returns a reference to the backing data.

Returns a reference to the node decode plan.

Construct a Node by borrowing data from this struct.

Trait Implementations

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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.