pub struct NamespacesConfig {
pub default: String,
pub auto_create: AutoCreate,
pub max_in_flight_activities: u32,
}Expand description
Namespace defaults from [namespaces].
Fields§
§default: StringDefault namespace used for local callers and worker dispatch.
auto_create: AutoCreateMinted-on-use policy: whether referencing an unseen namespace at worker
registration durably mints it (AutoCreate::Open, the zero-config
default) or is rejected (AutoCreate::Closed).
max_in_flight_activities: u32Platform-wide default for a namespace’s cluster-wide concurrent
in-flight-activity ceiling, applied when a namespace record carries no
explicit max_in_flight_activities override (Control-Plane Phase 2,
P2-Q1). This is the GENEROUS platform default, NOT a low hard cap: it is
a cluster-wide tenant contract (never “per-node × N”), so a tenant is
promised ≈this many concurrent activities across the whole cluster.
Defaults to DEFAULT_MAX_IN_FLIGHT_ACTIVITIES.
Stored-only in this slice. Nothing enforces it yet — the outbox dispatcher’s keyed backpressure (P2-Q2) consults it in a later slice.
Trait Implementations§
Source§impl Clone for NamespacesConfig
impl Clone for NamespacesConfig
Source§fn clone(&self) -> NamespacesConfig
fn clone(&self) -> NamespacesConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for NamespacesConfig
impl Debug for NamespacesConfig
Source§impl Default for NamespacesConfig
impl Default for NamespacesConfig
Source§impl<'de> Deserialize<'de> for NamespacesConfigwhere
NamespacesConfig: Default,
impl<'de> Deserialize<'de> for NamespacesConfigwhere
NamespacesConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for NamespacesConfig
impl RefUnwindSafe for NamespacesConfig
impl Send for NamespacesConfig
impl Sync for NamespacesConfig
impl Unpin for NamespacesConfig
impl UnsafeUnpin for NamespacesConfig
impl UnwindSafe for NamespacesConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request