Crate ts3[][src]

ts3

A WIP ts3 query interface library

Examples

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(())
}

Re-exports

pub use client::Client;
pub use client::Error;
pub use client::RawResp;
pub use client::Result;

Modules

client
event