pub struct AgentHandle {
pub agent_id: AgentId,
pub name: String,
pub handle: JoinHandle<AgentResult>,
}Fields§
§agent_id: AgentId§name: String§handle: JoinHandle<AgentResult>Implementations§
Source§impl AgentHandle
impl AgentHandle
pub fn new( agent_id: AgentId, name: String, handle: JoinHandle<AgentResult>, ) -> Self
pub fn is_finished(&self) -> bool
Auto 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