pub struct SupervisorCfg {
pub type: String,
pub tmux_prefix: String,
pub drain_timeout_secs: u64,
}Fields§
§type: String§tmux_prefix: String§drain_timeout_secs: u64Seconds reload waits for an agent to exit gracefully after
SIGINT before falling through to a hard kill-session. Default
10 — enough for an in-flight Claude Code tool call to finish
in the common case, short enough that operators don’t sit
staring at a frozen reload. Set to 0 to disable graceful
drain (matches pre-PR-B hard-kill behaviour).
Trait Implementations§
Source§impl Clone for SupervisorCfg
impl Clone for SupervisorCfg
Source§fn clone(&self) -> SupervisorCfg
fn clone(&self) -> SupervisorCfg
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SupervisorCfg
impl Debug for SupervisorCfg
Source§impl Default for SupervisorCfg
impl Default for SupervisorCfg
Source§impl<'de> Deserialize<'de> for SupervisorCfg
impl<'de> Deserialize<'de> for SupervisorCfg
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
impl Eq for SupervisorCfg
Source§impl PartialEq for SupervisorCfg
impl PartialEq for SupervisorCfg
Source§fn eq(&self, other: &SupervisorCfg) -> bool
fn eq(&self, other: &SupervisorCfg) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SupervisorCfg
impl Serialize for SupervisorCfg
impl StructuralPartialEq for SupervisorCfg
Auto Trait Implementations§
impl Freeze for SupervisorCfg
impl RefUnwindSafe for SupervisorCfg
impl Send for SupervisorCfg
impl Sync for SupervisorCfg
impl Unpin for SupervisorCfg
impl UnsafeUnpin for SupervisorCfg
impl UnwindSafe for SupervisorCfg
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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§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.