Struct routinator::payload::SharedHistory[][src]

pub struct SharedHistory(_);
Expand description

A shareable history of the validated payload.

Implementations

Creates a new shared history from the configuration.

Provides access to the underlying history.

Updates the history.

Produces a new snapshot based on a validation report and local exceptions. If this snapshot differs from the current one, adds a new version to the history.

The method returns whether it has indeed added a new version.

Marks the beginning of an update cycle.

Marks the end of an update cycle.

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

An iterator over the complete set of VRPs.

An iterator over a difference between two sets of VRPs.

Returns whether the source is ready to serve data.

Returns the current state of the source. Read more

Returns the current state and an iterator over the full set of VRPs.

Returns the current state and an interator over differences in VPRs. Read more

Returns the timing information for the current state.

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 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)

recently added

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.