pub struct SessionHandle { /* private fields */ }Implementations§
Source§impl SessionHandle
impl SessionHandle
pub fn events(&self) -> Result<Vec<AgentEvent>>
pub fn raw_files(&self) -> Result<Vec<RawFileContent>>
pub fn export(&self, strategy: ExportStrategy) -> Result<Vec<AgentEvent>>
pub fn metadata(&self) -> Result<SessionMetadata>
pub fn id(&self) -> &str
Sourcepub fn child_sessions(&self) -> Result<Vec<SessionSummary>>
pub fn child_sessions(&self) -> Result<Vec<SessionSummary>>
Get child sessions (subagents) that were spawned from this session.
Auto Trait Implementations§
impl Freeze for SessionHandle
impl RefUnwindSafe for SessionHandle
impl Send for SessionHandle
impl Sync for SessionHandle
impl Unpin for SessionHandle
impl UnwindSafe for SessionHandle
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