Crate openrgb

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

See examples, and OpenRGB for client API.

Modules§

data
OpenRGB data types.

Structs§

OpenRGB
OpenRGB client.

Enums§

OpenRGBError
Errors returned by OpenRGB client.

Statics§

DEFAULT_ADDR
Default address used by OpenRGB::connect.
DEFAULT_PROTOCOL
Default protocol version used by OpenRGB client.