Struct trie::FixedSecureTrieMut [] [src]

pub struct FixedSecureTrieMut<T: TrieMut, K: AsRef<[u8]>, V: Encodable + Decodable>(_, _);

Represents a secure mutable trie where the key is hashed, and operated on a fixed RLP value type.

Methods

impl<T: TrieMut, K: AsRef<[u8]>, V: Encodable + Decodable> FixedSecureTrieMut<T, K, V>
[src]

[src]

Into the underlying TrieMut object.

[src]

Initialize a new mutable trie.

[src]

Get the root hash of the current trie.

[src]

Insert a value to the trie.

[src]

Delete a value in the trie.

[src]

Get a value in the trie.

Trait Implementations

impl<T: Clone + TrieMut, K: Clone + AsRef<[u8]>, V: Clone + Encodable + Decodable> Clone for FixedSecureTrieMut<T, K, V>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Debug + TrieMut, K: Debug + AsRef<[u8]>, V: Debug + Encodable + Decodable> Debug for FixedSecureTrieMut<T, K, V>
[src]

[src]

Formats the value using the given formatter.

impl<T: TrieMut + Default, K: AsRef<[u8]>, V: Encodable + Decodable> Default for FixedSecureTrieMut<T, K, V>
[src]

[src]

Returns the "default value" for a type. Read more