Trait poston::client::Client

source ·
pub trait Client {
    // Required methods
    fn send<A>(
        &self,
        tag: String,
        a: &A,
        timestamp: SystemTime
    ) -> Result<(), Error>
       where A: Serialize;
    fn terminate(&self) -> Result<(), Error>;
}

Required Methods§

source

fn send<A>( &self, tag: String, a: &A, timestamp: SystemTime ) -> Result<(), Error>
where A: Serialize,

source

fn terminate(&self) -> Result<(), Error>

Object Safety§

This trait is not object safe.

Implementors§