[−][src]Struct dipstick::Statsd
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]
fn buffered(&self, buffering: Buffering) -> Self
[src]
fn get_buffering(&self) -> Buffering
[src]
fn is_buffered(&self) -> bool
[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.
fn new_scope(&self) -> Self::SCOPE
[src]
fn output(&self) -> Self::SCOPE
[src]
impl QueuedOutput for Statsd
[src]
fn queued(self, max_size: usize) -> OutputQueue
[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]
T: 'static + ?Sized,
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> 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 = Infallible
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>,