Enum AgentHandoffKind
pub enum AgentHandoffKind {
User,
Agent,
Tool,
HumanReviewer,
System,
None,
}Variants§
Implementations§
§impl AgentHandoffKind
impl AgentHandoffKind
pub const ALL: &'static [AgentHandoffKind]
pub const fn as_str(self) -> &'static str
Trait Implementations§
§impl Clone for AgentHandoffKind
impl Clone for AgentHandoffKind
§fn clone(&self) -> AgentHandoffKind
fn clone(&self) -> AgentHandoffKind
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 AgentHandoffKind
impl Debug for AgentHandoffKind
§impl Display for AgentHandoffKind
impl Display for AgentHandoffKind
§impl FromStr for AgentHandoffKind
impl FromStr for AgentHandoffKind
§type Err = AgentError
type Err = AgentError
The associated error which can be returned from parsing.
§fn from_str(
value: &str,
) -> Result<AgentHandoffKind, <AgentHandoffKind as FromStr>::Err>
fn from_str( value: &str, ) -> Result<AgentHandoffKind, <AgentHandoffKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for AgentHandoffKind
impl Hash for AgentHandoffKind
§impl Ord for AgentHandoffKind
impl Ord for AgentHandoffKind
§fn cmp(&self, other: &AgentHandoffKind) -> Ordering
fn cmp(&self, other: &AgentHandoffKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for AgentHandoffKind
impl PartialEq for AgentHandoffKind
§impl PartialOrd for AgentHandoffKind
impl PartialOrd for AgentHandoffKind
impl Copy for AgentHandoffKind
impl Eq for AgentHandoffKind
impl StructuralPartialEq for AgentHandoffKind
Auto Trait Implementations§
impl Freeze for AgentHandoffKind
impl RefUnwindSafe for AgentHandoffKind
impl Send for AgentHandoffKind
impl Sync for AgentHandoffKind
impl Unpin for AgentHandoffKind
impl UnsafeUnpin for AgentHandoffKind
impl UnwindSafe for AgentHandoffKind
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