pub struct MultiWriteHandle { /* private fields */ }
Expand description

A handle for writing to multiple streams.

Implementations

Returns Some(Error) in case any initialization operation on this MultiWriteHandle resulted in an Error.

Returns a new MultiWriteHandle for the given stream.

Returns a new MultiWriteHandle for the given streams.

Convenience function for when all the streams have matching K and V.

NOTE: This only returns an Error in case the passed iterator contains no handles or when passing in handles from different persist runtimes. All other errors are handled internally.

Adds the given stream to the set

NOTE: This only returns an Error when passing in handles from different persist runtimes. All other errors are handled internally.

Atomically writes the given updates to the paired streams.

Either all of the writes will be made durable for replay or none of them will.

Closes the streams at the given timestamp, migrating data strictly less than it into the trace.

Ids may not be duplicated (this is equivalent to sealing the stream twice at the same timestamp, which we currently disallow).

Closes all contained streams at the given timestamp, migrating data strictly less than it into the trace.

Unblocks compaction for updates for the given streams at the paired since timestamp.

Ids may not be duplicated (this is equivalent to allowing compaction on the stream twice at the same timestamp, which we currently disallow).

Atomically unblocks compaction for all contained streams up to the given since frontier.

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

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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.

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

🔬 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