Skip to main content

Crate lirays

Crate lirays 

Source
Expand description

LiRAYS Rust websocket client.

This crate provides:

  • Client for async command and subscription operations,
  • ConnectionOptions for connection setup,
  • variable model structs for namespace creation and metadata edits.

Modules§

types
Error types used by the client.

Structs§

BooleanVar
Model types used by create/edit APIs. Configuration used to create a boolean variable in the namespace.
Client
Main async LiRAYS client. High-level asynchronous client for LiRAYS namespace and value operations.
ConnectionOptions
Explicit connection configuration. Connection settings used to build the websocket request.
FloatVar
Model types used by create/edit APIs. Configuration used to create a float variable in the namespace.
IntegerVar
Model types used by create/edit APIs. Configuration used to create an integer variable in the namespace.
TextVar
Model types used by create/edit APIs. Configuration used to create a text variable in the namespace.
VariableMetadataPatch
Model types used by create/edit APIs. Partial metadata update payload for an existing variable.