pub struct HostDaemon { /* private fields */ }Implementations§
Source§impl HostDaemon
impl HostDaemon
pub async fn open( directory: PathBuf, host: HostConfig, control: ControlConfig, ) -> Result<Self, DaemonError>
Sourcepub async fn open_with_agents(
directory: PathBuf,
host: HostConfig,
control: ControlConfig,
agents: Vec<HostStartupAgent>,
) -> Result<Self, DaemonError>
pub async fn open_with_agents( directory: PathBuf, host: HostConfig, control: ControlConfig, agents: Vec<HostStartupAgent>, ) -> Result<Self, DaemonError>
Open the catalog, start the explicitly configured Agents, then bind the control endpoint. A startup failure settles every started owner before returning; it never publishes readiness with a partially started Host.
Sourcepub async fn open_configured(
directory: PathBuf,
host: HostConfig,
control: ControlConfig,
agents: Vec<HostStartupAgent>,
administration: Option<DaemonAdministrationConfig>,
) -> Result<Self, DaemonError>
pub async fn open_configured( directory: PathBuf, host: HostConfig, control: ControlConfig, agents: Vec<HostStartupAgent>, administration: Option<DaemonAdministrationConfig>, ) -> Result<Self, DaemonError>
Explicit private policy and dynamically available profiles. Only agents
are started. One union is frozen before catalog or Session creation.
Sourcepub async fn open_with_mini(
directory: PathBuf,
host: HostConfig,
control: ControlConfig,
agents: Vec<HostStartupAgent>,
administration: Option<DaemonAdministrationConfig>,
mini_control: Option<MiniControlConfig>,
) -> Result<Self, DaemonError>
pub async fn open_with_mini( directory: PathBuf, host: HostConfig, control: ControlConfig, agents: Vec<HostStartupAgent>, administration: Option<DaemonAdministrationConfig>, mini_control: Option<MiniControlConfig>, ) -> Result<Self, DaemonError>
Mini is opt-in via separate private authority. It never inherits the Persistent administrative grant or durable lifecycle journal.
Sourcepub fn service(&self) -> &HostService
pub fn service(&self) -> &HostService
Trusted native integrations can install explicit bindings. This handle is not an IPC grant and must not be exposed directly to model tools.
Sourcepub fn administration(&self) -> Option<&DaemonAdministration>
pub fn administration(&self) -> Option<&DaemonAdministration>
Trusted native handle. Its private policy fixes all authority for the lifetime; IPC only wraps explicitly implemented typed operations and never accepts a grant from a caller.
pub fn welcome(&self) -> &Welcome
pub async fn wait_control(&mut self) -> Result<(), ServerError>
Sourcepub async fn shutdown(&mut self) -> Result<(), DaemonError>
pub async fn shutdown(&mut self) -> Result<(), DaemonError>
Failed native settlement deliberately retains owners, catalog ownership and the query listener for diagnosis/retry. Never force-abort backends.