Struct infinitree::fields::LocalField [−][src]
pub struct LocalField<Field> { /* fields omitted */ }
Expand description
A strategy that stores both keys and values in the index
Trait Implementations
type TransactionResolver = FirstOnly
type TransactionResolver = FirstOnly
Use this resolving strategy to load the collection. Read more
type Key = K
type Key = K
The key that the predicate will use to decide whether to pull more data into memory. Read more
type Serialized = (K, V)
type Serialized = (K, V)
The serialized record format. This type will typically
implement serde::Serialize
Read more
This is equivalent to Iterator::Item
, and should contain a
full record that can be inserted into the in-memory store. Read more
Get the key based on the deserialized data. You want this to be a reference that’s easy to derive from the serialized data. Read more
Load the full record, and return it
This function is called when initializing an iterator. It will typically read one-off book keeping information from the header of the field transaction. Read more
type TransactionResolver = FullHistory
type TransactionResolver = FullHistory
Use this resolving strategy to load the collection. Read more
type Key = K
type Key = K
The key that the predicate will use to decide whether to pull more data into memory. Read more
type Serialized = (K, Option<Arc<V>>)
type Serialized = (K, Option<Arc<V>>)
The serialized record format. This type will typically
implement serde::Serialize
Read more
This is equivalent to Iterator::Item
, and should contain a
full record that can be inserted into the in-memory store. Read more
Get the key based on the deserialized data. You want this to be a reference that’s easy to derive from the serialized data. Read more
Load the full record, and return it
This function is called when initializing an iterator. It will typically read one-off book keeping information from the header of the field transaction. Read more
type TransactionResolver = FirstOnly
type TransactionResolver = FirstOnly
Use this resolving strategy to load the collection. Read more
type Key = T
type Key = T
The key that the predicate will use to decide whether to pull more data into memory. Read more
type Serialized = T
type Serialized = T
The serialized record format. This type will typically
implement serde::Serialize
Read more
type Item = T
type Item = T
This is equivalent to Iterator::Item
, and should contain a
full record that can be inserted into the in-memory store. Read more
Get the key based on the deserialized data. You want this to be a reference that’s easy to derive from the serialized data. Read more
Load the full record, and return it
This function is called when initializing an iterator. It will typically read one-off book keeping information from the header of the field transaction. Read more
Store the contents of the field into the index. The field itself needs to track whether this should be a complete rewrite or an upsert. Read more
Store the contents of the field into the index. The field itself needs to track whether this should be a complete rewrite or an upsert. Read more
Store the contents of the field into the index. The field itself needs to track whether this should be a complete rewrite or an upsert. Read more
Store the contents of the field into the index. The field itself needs to track whether this should be a complete rewrite or an upsert. Read more
Auto Trait Implementations
impl<Field> RefUnwindSafe for LocalField<Field> where
Field: RefUnwindSafe,
impl<Field> Send for LocalField<Field> where
Field: Send,
impl<Field> Sync for LocalField<Field> where
Field: Sync,
impl<Field> Unpin for LocalField<Field> where
Field: Unpin,
impl<Field> UnwindSafe for LocalField<Field> where
Field: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
type Key = <T as Collection>::Key
type Key = <T as Collection>::Key
The key that the predicate will use to decide whether to pull more data into memory. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more