Struct influent::client::udp::UdpClient
[−]
[src]
pub struct UdpClient<'a> { pub max_batch: u16, // some fields omitted }
Fields
max_batch: u16
Methods
impl<'a> UdpClient<'a>
[src]
fn new(serializer: Box<Serializer>) -> Self
fn add_host(&mut self, host: &'a str)
Trait Implementations
impl<'a> Client for UdpClient<'a>
[src]
fn query(&self, _: String, _: Option<Precision>) -> ClientReadResult
fn write_one(&self,
measurement: Measurement,
precision: Option<Precision>)
-> ClientWriteResult
measurement: Measurement,
precision: Option<Precision>)
-> ClientWriteResult
fn write_many(&self,
measurements: &[Measurement],
_: Option<Precision>)
-> ClientWriteResult
measurements: &[Measurement],
_: Option<Precision>)
-> ClientWriteResult