[][src]Struct routinator::repository::Repository

pub struct Repository { /* fields omitted */ }

The local copy of the RPKI repository.

Methods

impl Repository[src]

pub fn init(config: &Config) -> Result<(), Error>[src]

Initializes the repository.

pub fn new(
    config: &Config,
    extra_output: bool,
    update: bool
) -> Result<Self, Error>
[src]

Creates a new repository.

Takes all necessary information from config. If update is false, updating the local cache will not be updated from upstream.

pub fn reload_tals(&mut self, config: &Config) -> Result<(), Error>[src]

Reloads the TAL files based on the config object.

pub fn process(&mut self) -> Result<(OriginsReport, Metrics), Error>[src]

Performs a complete validation run on the repository.

Trait Implementations

impl Debug for Repository[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err