pub struct SetClientConfig {
pub attrs: Attrs,
pub rank: Rank,
pub reply: PortRef<StatusOverlay>,
}Expand description
Push client configuration overrides to this host agent’s process.
The attrs are installed as Source::ClientOverride (lowest explicit
priority), so the host’s own env vars and file config take precedence.
This message is idempotent — sending the same attrs twice replaces
the layer wholesale.
Request-reply: the reply acts as a barrier confirming the config
is installed. The fatal-on-failure / best-effort policy is the
caller’s contract, not this message’s; for the canonical
attach-time contract see the HM-* invariants in host_mesh.rs.
Fields§
§attrs: Attrs§rank: RankThis host’s ordinal within the config-push cast region, stamped by the cast layer. Used to position this host’s install ack overlay.
reply: PortRef<StatusOverlay>Streaming install ack. Each host posts a single-rank overlay at its
ordinal once it has installed the config; the caller reduces these into
a StatusMesh barrier and can name exactly which hosts (if any) never
acknowledged (HM-4). StatusMesh is used here only as a per-rank
presence/ack barrier — the status value itself is not meaningful (see
the handler).
Trait Implementations§
Source§impl Clone for SetClientConfig
impl Clone for SetClientConfig
Source§fn clone(&self) -> SetClientConfig
fn clone(&self) -> SetClientConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SetClientConfig
impl Debug for SetClientConfig
Source§impl<'de> Deserialize<'de> for SetClientConfig
impl<'de> Deserialize<'de> for SetClientConfig
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>,
Source§impl Handler<SetClientConfig> for HostAgent
impl Handler<SetClientConfig> for HostAgent
Source§impl Named for SetClientConfig
impl Named for SetClientConfig
Source§fn typename() -> &'static str
fn typename() -> &'static str
Source§fn typehash() -> u64
fn typehash() -> u64
Source§fn typeid() -> TypeId
fn typeid() -> TypeId
Source§impl Serialize for SetClientConfig
impl Serialize for SetClientConfig
impl Accepts<SetClientConfig> for HostAgentwhere
SetClientConfig: RemoteMessage,
impl RemoteHandles<SetClientConfig> for HostAgentwhere
SetClientConfig: RemoteMessage,
Auto Trait Implementations§
impl !Freeze for SetClientConfig
impl !RefUnwindSafe for SetClientConfig
impl Send for SetClientConfig
impl Sync for SetClientConfig
impl Unpin for SetClientConfig
impl UnsafeUnpin for SetClientConfig
impl !UnwindSafe for SetClientConfig
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].