pub struct DaemonConfig {
pub user: Option<String>,
pub state_dir: AbsPath,
pub resync_interval: Option<Duration>,
}Expand description
Settings for the daemon process.
Fields§
§user: Option<String>Service user to switch to when started as root.
state_dir: AbsPathDirectory containing the state file and lock.
resync_interval: Option<Duration>Periodic full reconcile interval, or None if disabled.
Trait Implementations§
Source§impl Clone for DaemonConfig
impl Clone for DaemonConfig
Source§impl Debug for DaemonConfig
impl Debug for DaemonConfig
Source§impl Default for DaemonConfig
impl Default for DaemonConfig
impl Eq for DaemonConfig
Source§impl PartialEq for DaemonConfig
impl PartialEq for DaemonConfig
impl StructuralPartialEq for DaemonConfig
Auto Trait Implementations§
impl Forget for DaemonConfig
impl Freeze for DaemonConfig
impl RefUnwindSafe for DaemonConfig
impl Send for DaemonConfig
impl Sync for DaemonConfig
impl Unpin for DaemonConfig
impl UnsafeUnpin 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