[][src]Struct dipstick::Statsd

pub struct Statsd { /* fields omitted */ }

Statsd output holds a datagram (UDP) socket to a statsd server. The socket is shared between scopes opened from the output.

Methods

impl Statsd[src]

pub fn send_to<ADDR: ToSocketAddrs>(address: ADDR) -> Result<Statsd>[src]

Send metrics to a statsd server at the address and port provided.

Trait Implementations

impl Buffered for Statsd[src]

impl CachedOutput for Statsd[src]

impl Clone for Statsd[src]

impl Debug for Statsd[src]

impl Output for Statsd[src]

type SCOPE = StatsdScope

The type of Scope returned byt this output.

impl QueuedOutput for Statsd[src]

impl Sampled for Statsd[src]

Auto Trait Implementations

impl !RefUnwindSafe for Statsd

impl Send for Statsd

impl Sync for Statsd

impl Unpin for Statsd

impl !UnwindSafe for Statsd

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