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
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Store
impl UnwindSafe for Store
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more