Struct coord::PersisterWithConfig[][src]

pub struct PersisterWithConfig {
    pub config: PersistConfig,
    pub runtime: Option<RuntimeClient>,
    pub table_details: BTreeMap<GlobalId, TablePersistDetails>,
    pub table_writer: Option<MultiWriteHandle>,
    pub all_table_ids: Vec<PersistId>,
}

Fields

config: PersistConfig

The configuration of the persistence runtime.

runtime: Option<RuntimeClient>

A client to the persistence runtime.

table_details: BTreeMap<GlobalId, TablePersistDetails>

Details about all persisted tables.

Tables are only stored in the map if persistence is enabled for that table.

table_writer: Option<MultiWriteHandle>

A writer that can write atomically to all tables in table_details.

all_table_ids: Vec<PersistId>

The persist stream IDs for all tables in table_details.

This is a denormalized copy of information stored in table_details for ease of use with some MultiWriteHandle APIs.

Implementations

Creates a persist stream name for a new table.

Adds the given table to the set of tables managed by the persister.

Removes the given table from the set of tables managed by the persister.

Creates a SerializedSourcePersistDetails for a new source.

Loads a source persist descriptor for an existing catalog source that reflects current frontier information.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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.

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.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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