pub struct RuntimeConfiguration {
pub paths: RuntimePaths,
pub process: ProcessRuntimeConfig,
pub network: NetworkRuntime,
pub observability: ObservabilityRuntime,
pub agent: AgentRuntimeConfig,
pub retrieval: ReadModelBackendConfig,
pub workers: WorkerRuntimeConfig,
pub file_index: FileIndexRuntimeConfig,
pub updates: UpdateRuntimeConfig,
pub storage: StorageRuntimeConfig,
pub watcher: WatcherConfig,
}Expand description
Resolved foundation configuration shared by all interfaces.
Fields§
§paths: RuntimePaths§process: ProcessRuntimeConfig§network: NetworkRuntime§observability: ObservabilityRuntime§agent: AgentRuntimeConfig§retrieval: ReadModelBackendConfig§workers: WorkerRuntimeConfig§file_index: FileIndexRuntimeConfig§updates: UpdateRuntimeConfig§storage: StorageRuntimeConfig§watcher: WatcherConfigImplementations§
Source§impl RuntimeConfiguration
impl RuntimeConfiguration
Sourcepub async fn from_process_environment() -> Result<Self, RuntimeConfigurationError>
pub async fn from_process_environment() -> Result<Self, RuntimeConfigurationError>
Resolves runtime configuration from the current process environment.
Sourcepub async fn from_environment(
environment: &EnvironmentConfig,
) -> Result<Self, RuntimeConfigurationError>
pub async fn from_environment( environment: &EnvironmentConfig, ) -> Result<Self, RuntimeConfigurationError>
Resolves runtime configuration from a typed environment snapshot.
Trait Implementations§
Source§impl Clone for RuntimeConfiguration
impl Clone for RuntimeConfiguration
Source§fn clone(&self) -> RuntimeConfiguration
fn clone(&self) -> RuntimeConfiguration
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 moreAuto Trait Implementations§
impl Freeze for RuntimeConfiguration
impl RefUnwindSafe for RuntimeConfiguration
impl Send for RuntimeConfiguration
impl Sync for RuntimeConfiguration
impl Unpin for RuntimeConfiguration
impl UnsafeUnpin for RuntimeConfiguration
impl UnwindSafe for RuntimeConfiguration
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