[][src]Trait rdms::Footprint

pub trait Footprint {
    fn footprint(&self) -> isize;
}

To be implemented by index-types, key-types and value-types.

This trait is required to compute the memory or disk foot-print for index-types, key-types and value-types.

Note: This can be an approximate measure.

Required methods

fn footprint(&self) -> isize

Loading content...

Implementations on Foreign Types

impl Footprint for Vec<u8>[src]

impl Footprint for i32[src]

impl Footprint for i64[src]

Loading content...

Implementors

impl Footprint for Empty[src]

impl<K, V> Footprint for Llrb<K, V> where
    K: Clone + Ord,
    V: Clone + Diff
[src]

impl<K, V> Footprint for Mvcc<K, V> where
    K: Clone + Ord,
    V: Clone + Diff
[src]

impl<K, V> Footprint for NoDisk<K, V>[src]

impl<K, V> Footprint for Snapshot<K, V> where
    K: Clone + Ord + Serialize,
    V: Clone + Diff + Serialize
[src]

Loading content...