Struct sdb::btree::Db_[]

pub struct Db_<K, V, P> where
    K: ?Sized,
    V: ?Sized,
    P: BTreePage<K, V>, 
{ pub db: u64, pub k: PhantomData<K>, pub v: PhantomData<V>, pub p: PhantomData<P>, }
Expand description

A database, which is essentially just a page offset along with markers.

Fields

db: u64k: PhantomData<K>v: PhantomData<V>p: PhantomData<P>

Implementations

Load a database from a page offset.

Trait Implementations

Formats the value using the given formatter. Read more

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.