pub enum SessionSupport {
Minted,
Printed,
None,
}Expand description
How an agent’s native session id is obtained. This is the axis deciding whether a caller-owned session name can be bound to it at all.
Variants§
Minted
The caller assigns the id up front (claude --session-id <uuid>), so the
binding is known before the process starts and survives a crashed run.
Printed
The agent prints an id we read back out of its output (Codex’s
thread_id). The binding only exists once the run produced output.
None
No id is exposed headlessly. Named sessions are refused for this agent.
Trait Implementations§
Source§impl Clone for SessionSupport
impl Clone for SessionSupport
Source§fn clone(&self) -> SessionSupport
fn clone(&self) -> SessionSupport
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 moreimpl Copy for SessionSupport
Source§impl Debug for SessionSupport
impl Debug for SessionSupport
impl Eq for SessionSupport
Source§impl PartialEq for SessionSupport
impl PartialEq for SessionSupport
impl StructuralPartialEq for SessionSupport
Auto Trait Implementations§
impl Freeze for SessionSupport
impl RefUnwindSafe for SessionSupport
impl Send for SessionSupport
impl Sync for SessionSupport
impl Unpin for SessionSupport
impl UnsafeUnpin for SessionSupport
impl UnwindSafe for SessionSupport
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