pub struct AgentHandle {
pub message_tx: Sender<FrontendMessage>,
pub session_id: String,
pub last_active_at: Instant,
}Expand description
Handle to a running Agent instance for one chat.
Fields§
§message_tx: Sender<FrontendMessage>Send messages (user input) to the Agent loop.
session_id: String§last_active_at: InstantAuto Trait Implementations§
impl Freeze for AgentHandle
impl RefUnwindSafe for AgentHandle
impl Send for AgentHandle
impl Sync for AgentHandle
impl Unpin for AgentHandle
impl UnsafeUnpin for AgentHandle
impl UnwindSafe for AgentHandle
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