Skip to main content

ClusterId

Type Alias ClusterId 

Source
pub type ClusterId = Arc<str>;
Expand description

To use throughout Sōzu

Arc, not Rc, although each worker is single-threaded: embedders keep ConfigState and the response types behind locks shared across threads (a multi-threaded tokio runtime, axum extensions), so they must stay Send + Sync. The assertion below holds that contract.

Aliased Type§

pub struct ClusterId { /* private fields */ }