A WIP ts3 query interface library
use ts3::Client;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
let client = Client::new("localhost:10011").await?;
client.use_sid(1).await?;
Ok(())
}
impl_decode | The impl_decode macro implements Decode for any type that implements FromStr .
|
List | A list of other objects that are being read from or written to the TS3 server interface.
It implements both FromStr and ToString as long as T itself also implements these traits.
|
Decode | A type implementing Decode allows to be read from the TS stream
|