pub struct AgentState<'a> {
pub info: AgentInfo,
/* private fields */
}Expand description
Agent状态,包含agent实例和失败计数
Fields§
§info: AgentInfoAuto Trait Implementations§
impl<'a> Freeze for AgentState<'a>
impl<'a> !RefUnwindSafe for AgentState<'a>
impl<'a> Send for AgentState<'a>
impl<'a> Sync for AgentState<'a>
impl<'a> Unpin for AgentState<'a>
impl<'a> !UnwindSafe for AgentState<'a>
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