[−][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]
impl Statsd
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 Sampled for Statsd
[src]
impl Sampled for Statsd
fn sampled(&self, sampling: Sampling) -> Self | [src] |
Perform random sampling of values according to the specified rate.
fn get_sampling(&self) -> Option<Sampling> | [src] |
Get the sampling strategy for this component, if any.
impl Buffered for Statsd
[src]
impl Buffered for Statsd
fn buffered(&self, buffering: Buffering) -> Self | [src] |
Return a clone with the specified buffering set.
fn get_buffering(&self) -> Option<Buffering> | [src] |
Return the buffering.
impl Output for Statsd
[src]
impl Output for Statsd
type SCOPE = StatsdScope
The type of Scope returned byt this output.
fn output(&self) -> Self::SCOPE | [src] |
impl CachedOutput for Statsd
[src]
impl CachedOutput for Statsd
fn cached(self, max_size: usize) -> OutputCache | [src] |
Wrap this output with an asynchronous dispatch queue of specified length.
impl QueuedOutput for Statsd
[src]
impl QueuedOutput for Statsd
fn queued(self, max_size: usize) -> OutputQueue | [src] |
Wrap this output with an asynchronous dispatch queue.
impl Clone for Statsd
[src]
impl Clone for Statsd
fn clone(&self) -> Statsd | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
Performs copy-assignment from source
. Read more
impl Debug for Statsd
[src]
impl Debug for Statsd
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)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> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |