pub enum SubAgentSessionPolicy {
Ephemeral,
Persistent,
}Expand description
Sub-Agent session policy
Variants§
Ephemeral
Create a new session per call (default)
Persistent
Reuse the same session; sub-agent accumulates history
Trait Implementations§
Source§impl Clone for SubAgentSessionPolicy
impl Clone for SubAgentSessionPolicy
Source§fn clone(&self) -> SubAgentSessionPolicy
fn clone(&self) -> SubAgentSessionPolicy
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 moreAuto Trait Implementations§
impl Freeze for SubAgentSessionPolicy
impl RefUnwindSafe for SubAgentSessionPolicy
impl Send for SubAgentSessionPolicy
impl Sync for SubAgentSessionPolicy
impl Unpin for SubAgentSessionPolicy
impl UnsafeUnpin for SubAgentSessionPolicy
impl UnwindSafe for SubAgentSessionPolicy
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