Struct sanakirja::btree::Db_ [−][src]
pub struct Db_<K, V, P> where
P: BTreePage<K, V>,
K: ?Sized,
V: ?Sized, {
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: u64
k: PhantomData<K>
v: PhantomData<V>
p: PhantomData<P>
Implementations
Trait Implementations
type PageReferences = Once<u64>
type PageReferences = 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
If this value is an offset to another page at offset offset
,
return Some(offset)
. Return None
else. Read more
If this value is an offset to another page at offset offset
,
return Some(offset)
. Return None
else. Read more