[−][src]Struct krill::pubd::Repository
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]
&self,
rfc8181_uri: Https,
publisher_handle: &PublisherHandle
) -> Result<RepositoryResponse, Error>
pub fn get_publisher(
&self,
publisher_handle: &PublisherHandle
) -> Result<&Publisher, Error>
[src]
&self,
publisher_handle: &PublisherHandle
) -> Result<&Publisher, Error>
pub fn publishers(&self) -> Vec<PublisherHandle>
[src]
impl Repository
[src]
Publish
Trait Implementations
impl Aggregate for Repository
[src]
type Command = Cmd
type Event = Evt
type InitEvent = Ini
type Error = Error
fn init(event: Self::InitEvent) -> Result<Self, Self::Error>
[src]
fn version(&self) -> u64
[src]
fn apply(&mut self, event: Self::Event)
[src]
fn process_command(
&self,
command: Self::Command
) -> Result<Vec<Self::Event>, Self::Error>
[src]
&self,
command: Self::Command
) -> Result<Vec<Self::Event>, Self::Error>
fn apply_all(&mut self, events: Vec<Self::Event>)
[src]
impl Clone for Repository
[src]
fn clone(&self) -> Repository
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Repository
[src]
impl Serialize for Repository
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Repository
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for Repository
impl Sync for Repository
impl Unpin for Repository
impl UnwindSafe for Repository
impl RefUnwindSafe for Repository
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,