[][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.

Methods

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 publishers(&self) -> Vec<PublisherHandle>[src]

impl Repository[src]

Publish

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

Update the RRPD and Rsync files on disk.

Trait Implementations

impl Aggregate for Repository[src]

type Command = Cmd

type Event = Evt

type InitEvent = Ini

type Error = Error

impl Clone for Repository[src]

impl Debug for Repository[src]

impl Serialize for Repository[src]

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

Auto Trait Implementations

Blanket Implementations

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 = !

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<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[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