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(()) }
Structs
Client | A Client used to send commands to the serverquery interface. |
RawResp | RawResp contains all data returned from the server When the items vector contains multiple entries, the server returned a list. Otherwise only a single item will be in the vector The HashMap contains all key-value pairs, but values are optional |
Enums
Error |
Type Definitions
Result |