pub struct AppRuntime {Show 21 fields
pub connection_namespace: Option<String>,
pub application_ir: Option<Arc<ApplicationIr>>,
pub app_id: Option<String>,
pub app_root: Option<String>,
pub build_dir: Option<String>,
pub artifact_dir: Option<String>,
pub host_profile: Option<String>,
pub state_path: Option<String>,
pub base_path: Option<String>,
pub log_path: Option<String>,
pub log_format: Option<String>,
pub error_report_path: Option<String>,
pub log_level: Option<String>,
pub trusted_proxy_cidrs: Option<String>,
pub runtime_conf_path: Option<String>,
pub is_editor_preview: bool,
pub queue_enabled: bool,
pub queue_poll_interval_ms: i64,
pub queue_max_attempts: i64,
pub queue_retry_seconds: i64,
pub resource_budgets: ResourceBudgets,
}Expand description
Fully resolved runtime configuration for one mounted app.
§Fields
application_ir: Stored field onAppRuntime.app_id: Stored field onAppRuntime.app_root: Stored field onAppRuntime.build_dir: Stored field onAppRuntime.artifact_dir: Stored field onAppRuntime.host_profile: Stored field onAppRuntime.state_path: Stored field onAppRuntime.base_path: Stored field onAppRuntime.log_path: Stored field onAppRuntime.log_format: Stored field onAppRuntime.error_report_path: Stored field onAppRuntime.log_level: Stored field onAppRuntime.trusted_proxy_cidrs: Stored field onAppRuntime.runtime_conf_path: Stored field onAppRuntime.queue_enabled: Stored field onAppRuntime.queue_poll_interval_ms: Stored field onAppRuntime.queue_max_attempts: Stored field onAppRuntime.queue_retry_seconds: Stored field onAppRuntime.resource_budgets: Stored field onAppRuntime.
§Examples
ⓘ
let _ = std::mem::size_of::<pharos_runtime_core::config::AppRuntime>();§Related
crate::configfor constructors, helpers, and neighboring runtime types.
Fields§
§connection_namespace: Option<String>Host-derived deployment identity for external connections; imported app declarations cannot select it.
application_ir: Option<Arc<ApplicationIr>>§app_id: Option<String>§app_root: Option<String>§build_dir: Option<String>§artifact_dir: Option<String>§host_profile: Option<String>§state_path: Option<String>§base_path: Option<String>§log_path: Option<String>§log_format: Option<String>§error_report_path: Option<String>§log_level: Option<String>§trusted_proxy_cidrs: Option<String>§runtime_conf_path: Option<String>§is_editor_preview: boolSet only by Architect when serving an isolated editable app preview.
queue_enabled: bool§queue_poll_interval_ms: i64§queue_max_attempts: i64§queue_retry_seconds: i64§resource_budgets: ResourceBudgetsTrait Implementations§
Source§impl Clone for AppRuntime
impl Clone for AppRuntime
Source§fn clone(&self) -> AppRuntime
fn clone(&self) -> AppRuntime
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 moreSource§impl Debug for AppRuntime
impl Debug for AppRuntime
Source§impl Default for AppRuntime
impl Default for AppRuntime
Source§fn default() -> AppRuntime
fn default() -> AppRuntime
Returns the “default value” for a type. Read more
Source§impl PartialEq for AppRuntime
impl PartialEq for AppRuntime
Source§fn eq(&self, other: &AppRuntime) -> bool
fn eq(&self, other: &AppRuntime) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AppRuntime
impl StructuralPartialEq for AppRuntime
Auto Trait Implementations§
impl Freeze for AppRuntime
impl RefUnwindSafe for AppRuntime
impl Send for AppRuntime
impl Sync for AppRuntime
impl Unpin for AppRuntime
impl UnsafeUnpin for AppRuntime
impl UnwindSafe for AppRuntime
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.