[][src]Struct sanakirja::Db

pub struct Db<K: Representable, V: Representable>(_, _);

A database is a skip list of (page offset, key, value).

Trait Implementations

impl<K: Clone + Representable, V: Clone + Representable> Clone for Db<K, V>[src]

impl<K: Copy + Representable, V: Copy + Representable> Copy for Db<K, V>[src]

impl<K: Debug + Representable, V: Debug + Representable> Debug for Db<K, V>[src]

impl<K: Representable, V: Representable> Representable for Db<K, V>[src]

type PageOffsets = Once<u64>

An iterator over the offsets to pages contained in this value. Only values from this crate can generate non-empty iterators, but combined values (like tuples) must chain the iterators returned by method page_offsets. Read more

Auto Trait Implementations

impl<K, V> RefUnwindSafe for Db<K, V> where
    K: RefUnwindSafe,
    V: RefUnwindSafe
[src]

impl<K, V> Send for Db<K, V> where
    K: Send,
    V: Send
[src]

impl<K, V> Sync for Db<K, V> where
    K: Sync,
    V: Sync
[src]

impl<K, V> Unpin for Db<K, V> where
    K: Unpin,
    V: Unpin
[src]

impl<K, V> UnwindSafe for Db<K, V> where
    K: UnwindSafe,
    V: UnwindSafe
[src]

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> 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>,