Expand description
Client library for OpenRGB SDK server.
This client is async and requires a tokio runtime to run.
§Example
use openrgb::OpenRGB;
use std::error::Error;
#[tokio::main]
async fn main() -> Result<(), Box<dyn Error>> {
// connect to default server at localhost
let client = OpenRGB::connect().await?;
Ok(())
}
Modules§
- data
- OpenRGB data types.
Structs§
- OpenRGB
- OpenRGB client.
Enums§
- OpenRGB
Error - Errors returned by OpenRGB client.
Statics§
- DEFAULT_
ADDR - Default address used by OpenRGB::connect.
- DEFAULT_
PROTOCOL - Default protocol version used by OpenRGB client.