pub struct DaemonConfig {
pub log_level: String,
pub binary_paths: Vec<String>,
pub async_enabled: bool,
}
Expand description
Represents the configuration for the daemon.
Fields§
§log_level: String
The log level (e.g., “debug”, “info”, “warn”, “error”).
binary_paths: Vec<String>
Paths to binaries or resources to load.
async_enabled: bool
Whether async support is enabled.
Implementations§
Trait Implementations§
Source§impl Debug for DaemonConfig
impl Debug for DaemonConfig
Source§impl<'de> Deserialize<'de> for DaemonConfig
impl<'de> Deserialize<'de> for DaemonConfig
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 DaemonConfig
impl RefUnwindSafe for DaemonConfig
impl Send for DaemonConfig
impl Sync for DaemonConfig
impl Unpin for DaemonConfig
impl UnwindSafe for DaemonConfig
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