1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
//! # ts3 //! A WIP ts3 query interface library //! //! # Examples //! //! ```rust //! use ts3::Client; //! //! #[tokio::main] //! async fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> { //! // Create a new client and connect to the server query interface //! let client = Client::new("localhost:10011").await?; //! //! // switch to virtual server with id 1 //! client.use_sid(1).await?; //! //! Ok(()) //! } //! ``` mod client; pub use client::{Client, Error, RawResp, Result};