Skip to main content

Crate regain_core

Crate regain_core 

Source

Re-exports§

pub use session::Session;
pub use worker::Runtime;
pub use worker::Worker;
pub use model::*;

Modules§

accessory
Shared client for the newline-JSON accessory workers in regain-device. Native camera workers keep their separate transport/recovery supervisor. COM imports can append a finite binary body under the same process request guard.
cooling
One acknowledged cooler command, driven by the existing Session owner. The handle grants no equipment lease; frontends must authorize callers.
model
recovery
Canonical native camera recovery configuration and frontend metadata. Legacy keys/defaults and acceptance ranges remain unchanged. Proxy cameras must not acquire these native recovery promises merely by republishing them.
session
timing
Outer supervision allowances for the existing native recovery workflow. These do not change command deadlines, retry eligibility or recovery policy. OS process startup/retirement and executor scheduling have no strict wall-time bound: an expired caller must still retain and drain owned worker cleanup.
white_balance
Backend-independent, opt-in white balance for little-endian RAW16 Bayer frames. Raw output is the default: AWB can estimate gains without modifying science data.
worker

Structs§

CancellationToken
A token which can be used to signal a cancellation request to one or more tasks.