[][src]Struct krill::pubd::Repository

pub struct Repository { /* fields omitted */ }

An RFC8183 Repository server, capable of handling Publishers (both embedded, and remote RFC8183), and publishing to RRDP and disk, and signing responses.

Implementations

impl Repository[src]

pub fn key_id(&self) -> &KeyIdentifier[src]

impl Repository[src]

pub fn repo_info_for(&self, publisher: &PublisherHandle) -> RepoInfo[src]

pub fn repository_response(
    &self,
    rfc8181_uri: Https,
    publisher_handle: &PublisherHandle
) -> Result<RepositoryResponse, Error>
[src]

pub fn get_publisher(
    &self,
    publisher_handle: &PublisherHandle
) -> Result<&Publisher, Error>
[src]

pub fn stats(&self) -> &RepoStats[src]

pub fn publishers(&self) -> Vec<PublisherHandle>[src]

impl Repository[src]

pub fn write(&self) -> Result<(), Error>[src]

Update the RRPD and Rsync files on disk.

impl Repository[src]

pub fn regenerate_stats(&mut self)[src]

Trait Implementations

impl Aggregate for Repository[src]

type Command = Cmd

type StorableCommandDetails = StorableRepositoryCommand

type Event = Evt

type InitEvent = Ini

type Error = Error

impl Clone for Repository[src]

impl Debug for Repository[src]

impl<'de> Deserialize<'de> for Repository[src]

impl Serialize for Repository[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

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.