[][src]Enum exonum_merkledb::IndexType

#[repr(u32)]pub enum IndexType {
    Map,
    List,
    Entry,
    ValueSet,
    KeySet,
    SparseList,
    ProofList,
    ProofMap,
    ProofEntry,
    Tombstone,
    // some variants omitted
}

Type of an index supported by Exonum.

IndexType is used for type checking indexes when they are created/accessed.

Variants

Map

Non-merkelized map index.

List

Non-merkelized list index.

Entry

Single entry acting like a Rust Option.

ValueSet

Set index with elements stored in a hash table.

KeySet

Set index with elements stored as keys in the underlying KV storage.

SparseList

Sparse list index.

ProofList

Merkelized list index.

ProofMap

Merkelized map index.

ProofEntry

Merkelized entry.

Tombstone

Tombstone indicating necessity to remove an index after migration is completed.

Methods

impl IndexType[src]

pub fn is_merkelized(self) -> bool[src]

Checks if the index of this type is Merkelized.

Trait Implementations

impl Clone for IndexType[src]

impl Copy for IndexType[src]

impl Debug for IndexType[src]

impl Default for IndexType[src]

impl<'de> Deserialize<'de> for IndexType[src]

impl FromPrimitive for IndexType[src]

impl PartialEq<IndexType> for IndexType[src]

impl Serialize for IndexType[src]

impl StructuralPartialEq for IndexType[src]

impl ToPrimitive for IndexType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,