pub struct DaemonSection {
pub socket: Option<String>,
pub database: Option<String>,
}Expand description
[daemon] section.
Fields§
§socket: Option<String>Unix socket path (raw path, not a URI). Maps to SYSKNIFE_LISTEN_URI.
The loader prepends unix:// when setting the env var.
database: Option<String>SQLite database path. Maps to SYSKNIFE_DATABASE_PATH.
Trait Implementations§
Source§impl Debug for DaemonSection
impl Debug for DaemonSection
Source§impl<'de> Deserialize<'de> for DaemonSection
impl<'de> Deserialize<'de> for DaemonSection
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 DaemonSection
impl RefUnwindSafe for DaemonSection
impl Send for DaemonSection
impl Sync for DaemonSection
impl Unpin for DaemonSection
impl UnsafeUnpin for DaemonSection
impl UnwindSafe for DaemonSection
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