pub struct Options {
pub from_addr: String,
pub to_addr: String,
pub namespace: String,
pub default_tags: Vec<String>,
}
Expand description
The struct that represents the options available for the Dogstatsd client.
Fields§
§from_addr: String
The address of the udp socket we’ll bind to for sending.
to_addr: String
The address of the udp socket we’ll send metrics and events to.
namespace: String
A namespace to prefix all metrics with, joined with a ‘.’.
Default tags to include with every request.
Implementations§
Trait Implementations§
source§impl PartialEq<Options> for Options
impl PartialEq<Options> for Options
impl StructuralPartialEq for Options
Auto Trait Implementations§
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more