[][src]Struct routinator::metrics::Metrics

pub struct Metrics { /* fields omitted */ }

Methods

impl Metrics[src]

pub fn new() -> Self[src]

pub fn push_tal(&mut self, tal: TalMetrics)[src]

pub fn set_rsync(&mut self, rsync: Vec<RsyncModuleMetrics>)[src]

pub fn set_rrdp(&mut self, rrdp: Vec<RrdpServerMetrics>)[src]

pub fn time(&self) -> DateTime<Utc>[src]

pub fn timestamp(&self) -> i64[src]

pub fn tals(&self) -> &[TalMetrics][src]

pub fn rsync(&self) -> &[RsyncModuleMetrics][src]

pub fn rrdp(&self) -> &[RrdpServerMetrics][src]

pub fn rsync_complete(&self) -> bool[src]

pub fn log(&self)[src]

Trait Implementations

impl AsRef<Metrics> for Metrics[src]

impl Default for Metrics[src]

impl Debug for Metrics[src]

Auto Trait Implementations

impl Send for Metrics

impl Sync for Metrics

impl Unpin for Metrics

impl !UnwindSafe for Metrics

impl !RefUnwindSafe for Metrics

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