Enum AgentLoopKind
pub enum AgentLoopKind {
SingleTurn,
MultiTurn,
ReactLike,
PlanExecute,
ReflectAct,
RouterWorker,
Custom,
}Variants§
Implementations§
§impl AgentLoopKind
impl AgentLoopKind
pub const ALL: &'static [AgentLoopKind]
pub const fn as_str(self) -> &'static str
Trait Implementations§
§impl Clone for AgentLoopKind
impl Clone for AgentLoopKind
§fn clone(&self) -> AgentLoopKind
fn clone(&self) -> AgentLoopKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for AgentLoopKind
impl Debug for AgentLoopKind
§impl Display for AgentLoopKind
impl Display for AgentLoopKind
§impl FromStr for AgentLoopKind
impl FromStr for AgentLoopKind
§type Err = AgentError
type Err = AgentError
The associated error which can be returned from parsing.
§fn from_str(
value: &str,
) -> Result<AgentLoopKind, <AgentLoopKind as FromStr>::Err>
fn from_str( value: &str, ) -> Result<AgentLoopKind, <AgentLoopKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for AgentLoopKind
impl Hash for AgentLoopKind
§impl Ord for AgentLoopKind
impl Ord for AgentLoopKind
§impl PartialEq for AgentLoopKind
impl PartialEq for AgentLoopKind
§impl PartialOrd for AgentLoopKind
impl PartialOrd for AgentLoopKind
impl Copy for AgentLoopKind
impl Eq for AgentLoopKind
impl StructuralPartialEq for AgentLoopKind
Auto Trait Implementations§
impl Freeze for AgentLoopKind
impl RefUnwindSafe for AgentLoopKind
impl Send for AgentLoopKind
impl Sync for AgentLoopKind
impl Unpin for AgentLoopKind
impl UnsafeUnpin for AgentLoopKind
impl UnwindSafe for AgentLoopKind
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