Struct routinator::store::Store[][src]

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

A store for correctly published RPKI objects.

The store retains a copy of curated, published RPKI data. Its intended use is for keeping the most recent data of a given RPKI publication point that was found to be correctly published. However, the store doesn’t enforce this, and can be used for other purposes as well.

A store can be created via the new function which will initialize a new store on disk if necessary and open it. If you only want to make sure that the store is initilized without actually using it, the init function can be used.

To use the store during a validation run, the start method is used. It returns a Run object providing actual access to the store.

Implementations

Initializes the store without creating a value.

Ensures that the base directory exists and creates it of necessary.

The function is called implicitly by new.

Creates a new store at the given path.

Start a validation run with the store.

Dumps the content of the store.

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.

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.