Struct mz_stash::Memory

source ·
pub struct Memory { /* private fields */ }
Expand description

An in-memory Stash that is backed by another Stash but serves read requests from its memory. Write requests are propogated to the other Stash.

Implementations§

Trait Implementations§

Same as append, but does not consolidate batches.
Atomically adds entries, seals, compacts, and consolidates multiple collections. Read more
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Loads or creates the named collection. Read more
Returns the names of the collections in the stash.
Iterates over all entries in the stash. Read more
Iterates over entries in the stash for the given key. Read more
Atomically adds multiple entries to the arrangement. Read more
Atomically advances the upper frontier to the specified value. Read more
Performs multiple seals at once, potentially in a more performant way than performing the individual seals one by one. Read more
Atomically advances the since frontier to the specified value. Read more
Performs multiple compactions at once, potentially in a more performant way than performing the individual compactions one by one. Read more
Atomically consolidates entries less than the since frontier. Read more
Performs multiple consolidations at once, potentially in a more performant way than performing the individual consolidations one by one. Read more
Reports the current since frontier.
Reports the current upper frontier.
Returns Ok if this stash instance was the leader at some point from the invocation of this method to the return of this method. Otherwise, returns Err.
Returns the stash’s epoch number. If Some, it is a positive number that increases with each start of a stash.
Reports whether the stash is in readonly mode. Read more
Returns the most recent timestamp at which sealed entries can be read.
Returns the current value of sealed entries. Read more
Returns the current k,v pairs of sealed entries, erroring if there is more than one entry for a given key or the multiplicity is not 1 for each key. Read more
Returns the current sealed value for the given key, erroring if there is more than one entry for the key or its multiplicity is not 1. Read more
Atomically adds a single entry to the arrangement. 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

Returns the argument unchanged.

Converts to this type from a reference to the input type.
Attaches the provided Context to this type, returning a WithContext wrapper. Read more
Attaches the current Context to this type, returning a WithContext wrapper. Read more
Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Wrap the input message T in a tonic::Request
Upcasts this ProgressEventTimestamp to Any. Read more
Returns the name of the concrete type of this object. Read more
Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
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.
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