pub trait Client {
fn send<A>(
&self,
tag: String,
a: &A,
timestamp: SystemTime
) -> Result<(), Error>
where
A: Serialize;
fn close(&mut self);
}
pub trait Client {
fn send<A>(
&self,
tag: String,
a: &A,
timestamp: SystemTime
) -> Result<(), Error>
where
A: Serialize;
fn close(&mut self);
}