[][src]Struct krill::pubd::RepoStats

pub struct RepoStats { /* fields omitted */ }

Implementations

impl RepoStats[src]

pub fn new(session: RrdpSession) -> Self[src]

pub fn publish(
    &mut self,
    publisher: &PublisherHandle,
    publisher_stats: PublisherStats,
    notification: &Notification
)
[src]

pub fn new_publisher(&mut self, publisher: &PublisherHandle)[src]

pub fn remove_publisher(
    &mut self,
    publisher: &PublisherHandle,
    notification: &Notification
)
[src]

pub fn get_publishers(&self) -> &HashMap<PublisherHandle, PublisherStats>[src]

pub fn stale_publishers(&self, seconds: i64) -> Vec<PublisherHandle>[src]

pub fn last_update(&self) -> Option<Time>[src]

pub fn serial(&self) -> u64[src]

pub fn session(&self) -> RrdpSession[src]

Trait Implementations

impl Clone for RepoStats[src]

impl Debug for RepoStats[src]

impl Default for RepoStats[src]

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

impl Eq for RepoStats[src]

impl PartialEq<RepoStats> for RepoStats[src]

impl Serialize for RepoStats[src]

impl StructuralEq for RepoStats[src]

impl StructuralPartialEq for RepoStats[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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[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.