pub struct BackendId(pub String);Expand description
Identifies a named backend in a multi-backend deployment (ADR-009, ADR-028).
The main backend is the default single-backend name. Multi-backend deployments
assign each [[backends]] entry a distinct BackendId. The
SubstrateCoordinator in kkernel
uses BackendId for node-to-backend resolution and cross-backend edge routing.
A single-backend KhiveRuntime always has BackendId("main") by default.
The boot path in kkernel or khive-mcp sets the id via RuntimeConfig::backend_id
when constructing per-pack runtimes.
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
impl Eq for BackendId
impl StructuralPartialEq for BackendId
Auto Trait Implementations§
impl Freeze for BackendId
impl RefUnwindSafe for BackendId
impl Send for BackendId
impl Sync for BackendId
impl Unpin for BackendId
impl UnsafeUnpin for BackendId
impl UnwindSafe for BackendId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.