pub struct SessionHandle { /* private fields */ }Expand description
A session’s place in the workbench while it lives; dropping it removes the session.
Implementations§
Source§impl SessionHandle
impl SessionHandle
Sourcepub fn set_state(&self, state: AgentState, detail: Option<String>)
pub fn set_state(&self, state: AgentState, detail: Option<String>)
What the session is doing: a turn runs, an approval waits for its client, or it is idle.
Trait Implementations§
Source§impl Debug for SessionHandle
impl Debug for SessionHandle
Source§impl Drop for SessionHandle
impl Drop for SessionHandle
Auto Trait Implementations§
impl Freeze for SessionHandle
impl RefUnwindSafe for SessionHandle
impl Send for SessionHandle
impl Sync for SessionHandle
impl Unpin for SessionHandle
impl UnsafeUnpin 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