Skip to main content

Crate razers_protocol_razer90

Crate razers_protocol_razer90 

Source
Expand description

Validated, synchronous exchanges for the classic 90-byte Razer protocol.

This layer owns protocol timing and response validation while leaving byte movement to [ReportIo]. A connection actor must retain exclusive ownership of an exchange so one command cannot consume another command’s response.

此层负责协议时序和响应校验,字节读写交给 ReportIo。连接任务必须独占一次交换,避免一条命令误取另一条命令的响应。

Structs§

ExchangePolicy
Per-connection rules for one classic feature-report exchange.
FeatureExchange
A serialized classic feature-report exchange over a byte transport.
ThreadDelay

Enums§

BusyHandling
How a device-specific driver interprets status 0x01.
ExchangeError

Constants§

STATUS_BUSY
STATUS_FAILURE
STATUS_NEW_COMMAND
STATUS_NOT_SUPPORTED
STATUS_SUCCESSFUL
STATUS_TIMEOUT

Traits§

Delay
Injectable waiting boundary for deterministic protocol tests.