pub struct GlobalRegistryServerConfig {
pub default_ttl_ns: u64,
pub min_ttl_ns: u64,
pub max_ttl_ns: u64,
}Expand description
Per-deployment knobs for GlobalRegistryServer. All durations
are in nanoseconds. Defaults follow the deep-research bound:
90 s TTL, 30 s floor, 5 min ceiling.
Fields§
§default_ttl_ns: u64TTL the server stamps onto fresh registrations. Clients receive this verbatim in their Handshake reply.
min_ttl_ns: u64Floor for aggressive eviction policy bumps. Not enforced directly today; reserved as the documented lower bound for future server-side cohort tuning.
max_ttl_ns: u64Ceiling on stale entries. Not enforced directly today; reserved as the documented upper bound for future server-side cohort tuning.
Trait Implementations§
Source§impl Clone for GlobalRegistryServerConfig
impl Clone for GlobalRegistryServerConfig
Source§fn clone(&self) -> GlobalRegistryServerConfig
fn clone(&self) -> GlobalRegistryServerConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GlobalRegistryServerConfig
Source§impl Debug for GlobalRegistryServerConfig
impl Debug for GlobalRegistryServerConfig
Source§impl Default for GlobalRegistryServerConfig
impl Default for GlobalRegistryServerConfig
Source§impl<'de> Deserialize<'de> for GlobalRegistryServerConfig
impl<'de> Deserialize<'de> for GlobalRegistryServerConfig
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for GlobalRegistryServerConfig
Source§impl PartialEq for GlobalRegistryServerConfig
impl PartialEq for GlobalRegistryServerConfig
Source§fn eq(&self, other: &GlobalRegistryServerConfig) -> bool
fn eq(&self, other: &GlobalRegistryServerConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GlobalRegistryServerConfig
Auto Trait Implementations§
impl Freeze for GlobalRegistryServerConfig
impl RefUnwindSafe for GlobalRegistryServerConfig
impl Send for GlobalRegistryServerConfig
impl Sync for GlobalRegistryServerConfig
impl Unpin for GlobalRegistryServerConfig
impl UnsafeUnpin for GlobalRegistryServerConfig
impl UnwindSafe for GlobalRegistryServerConfig
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
Mutably borrows from an owned value. Read more
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>,
impl<T> ErasedComponent for T
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>
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> SlotValue for T
impl<T> SlotValue for T
Source§fn into_any_boxed(self: Box<T>) -> Box<dyn Any + Sync + Send>
fn into_any_boxed(self: Box<T>) -> Box<dyn Any + Sync + Send>
Repackage
Box<dyn SlotValue> as Box<dyn Any> for
Box::downcast. Required because the SlotValue and
Any vtables are distinct even though SlotValue: Any.Source§fn clone_boxed(&self) -> Box<dyn SlotValue>
fn clone_boxed(&self) -> Box<dyn SlotValue>
Polymorphic clone preserving the concrete type.
Source§fn to_wire_bytes(&self) -> Result<Vec<u8>, SlotValueError>
fn to_wire_bytes(&self) -> Result<Vec<u8>, SlotValueError>
Wire-boundary encode (bincode + serde). Local forwarding
uses
clone_boxed instead.Source§fn type_hash(&self) -> u64
fn type_hash(&self) -> u64
Stable cross-Node type discriminator. FNV-1a of
std::any::type_name::<T>(); receiver decodes only on a
matching hash.Source§fn runtime_type(&self) -> &'static TypeNode
fn runtime_type(&self) -> &'static TypeNode
Source§fn charged_bytes(&self) -> usize
fn charged_bytes(&self) -> usize
Bytes the carrier owes against
NodeConfig::ingress_byte_budget. Slot-table eviction calls
this to release the charge. Default 0 — only
ingress-derived carriers register a non-zero resolver via
[register_charged_bytes!].