//! Interfaces to the Segment tracking API.
usecrate::{Message,Result};/// `Client` is a trait representing the HTTP transport layer of the analytics library.
#[async_trait::async_trait]pubtraitClient{/// Send a single message to Segment using the given write key.
////// A `write_key` is an API key for Segment's tracking API. See [Segment's
/// documentation](https://segment.com/docs/guides/setup/how-do-i-find-my-write-key/)
/// for how to find this value.
async fnsend(&self, write_key: String, msg: Message)->Result<()>;}