pub struct SystemConfig {
pub mailbox: MailboxConfig,
pub logging: LoggingConfig,
pub dumping: DumpingConfig,
pub telemetry: TelemetryConfig,
pub restart_policy: RestartPolicyConfig,
}Expand description
The system.* section in configs.
§Example
[some_group]
system.mailbox.capacity = 1000
system.logging.max_level = "Warn"
system.dumping.max_rate = 10_000
system.telemetry.per_actor_key = true
system.restart_policy.when = "Never"Fields§
§mailbox: MailboxConfigMailbox configuration.
logging: LoggingConfigLogging configuration.
dumping: DumpingConfigDumping configuration.
telemetry: TelemetryConfigTelemetry configuration.
restart_policy: RestartPolicyConfigRestarting configuration.
Trait Implementations§
Source§impl Debug for SystemConfig
impl Debug for SystemConfig
Source§impl Default for SystemConfig
impl Default for SystemConfig
Source§fn default() -> SystemConfig
fn default() -> SystemConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SystemConfigwhere
SystemConfig: Default,
impl<'de> Deserialize<'de> for SystemConfigwhere
SystemConfig: Default,
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
Auto Trait Implementations§
impl Freeze for SystemConfig
impl RefUnwindSafe for SystemConfig
impl Send for SystemConfig
impl Sync for SystemConfig
impl Unpin for SystemConfig
impl UnsafeUnpin for SystemConfig
impl UnwindSafe for SystemConfig
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