Struct exocore_chain::pending::memory::MemoryPendingStore[][src]

pub struct MemoryPendingStore { /* fields omitted */ }
Expand description

In memory pending store

Implementations

Trait Implementations

Returns the “default value” for a type. Read more

Adds or replaces the given operation into the store. Returns true if the operation already exists and got overwritten. Read more

Updates the commit status of an operation. This information is not replicated, and is populated by the CommitManager so that the PendingSynchronizer and Engine can get the chain status of an operation without hitting the chain every time. Returns Error::NotFound if operation doesn’t exist. Read more

Returns the operation with given id.

Returns all operations grouped under the given group id / operation id. An example of operation group is a block with its signatures / refusals operations. Entry operations are NOT stored in the block’s group since they could get added into different blocks (but only one will be committed). Read more

Iterates through all operations in the store within the given range. The iterator returns operations sorted by operation ids. Read more

Returns the number of operations in the store.

Deletes the operation with given id, or all operations grouped by this operation id if the operation was a group (ex: block with its signatures) 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.

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

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

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