Struct tic::HttpReporter[][src]

pub struct HttpReporter<T> { /* fields omitted */ }

an HTTP-based endpoint for viewing all registered metrics on a Receiver

Methods

impl<T: Eq + Hash + Send + Clone + Display> HttpReporter<T>
[src]

creates a new HttpReporter from the given Receiver, listening on the given address

runs the HTTP server loop, this will block the calling thread until the process exists

you should run this via thread::spawn

Auto Trait Implementations

impl<T> Send for HttpReporter<T> where
    T: Send

impl<T> Sync for HttpReporter<T> where
    T: Send