pub struct DaemonConfig {
pub idle_exit_secs: u64,
pub prompt_abandon_secs: u64,
pub parked_evict_secs: u64,
}Expand description
Daemon lifetime knobs (daemon.* keys). Config-file fallbacks; the matching
SYNAPS_DAEMON_* env vars still WIN over these when set.
Fields§
§idle_exit_secs: u64Seconds an auto-spawned daemon stays alive after the last client
disconnects. 0 = never idle-exit. Env SYNAPS_DAEMON_IDLE_EXIT_SECS
overrides. Default: 10.
prompt_abandon_secs: u64Seconds a pending host confirmation on a detached session survives
before it is fail-closed answered None. 0 = disabled (survives
forever). Env SYNAPS_DAEMON_PROMPT_ABANDON_SECS overrides. Default: 3600.
parked_evict_secs: u64Seconds a PARKED session row lingers before eviction. 0 = keep
forever. Env SYNAPS_DAEMON_PARKED_EVICT_SECS overrides. Default: 3600.
Trait Implementations§
Source§impl Clone for DaemonConfig
impl Clone for DaemonConfig
impl Copy 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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.