pub struct ActionRequiredManager { /* private fields */ }Implementations§
Source§impl ActionRequiredManager
impl ActionRequiredManager
pub fn new() -> Self
pub fn forward( &self, parent_id: &str, subagent_id: &str, request_id: &str, ) -> String
pub fn is_forwarded(&self, id: &str) -> bool
pub fn answered_request( &self, session_id: &str, request_id: &str, ) -> Result<(String, String)>
pub fn forget_forwarded_from(&self, subagent_id: &str)
pub async fn request_and_wait( &self, session_id: String, tool_call_request_id: String, message: String, schema: Value, timeout_duration: Duration, ) -> Result<ElicitationOutcome>
pub async fn claim_response( &self, session_id: &str, request_id: &str, ) -> Result<PendingResponseClaim>
pub async fn register_action_required_stream( &self, session_id: String, tool_call_request_id: String, ) -> Receiver<Message>
pub async fn has_action_required_stream( &self, session_id: &str, tool_call_request_id: &str, ) -> bool
pub async fn unregister_action_required_stream( &self, session_id: &str, tool_call_request_id: &str, )
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ActionRequiredManager
impl !RefUnwindSafe for ActionRequiredManager
impl !UnwindSafe for ActionRequiredManager
impl Forget for ActionRequiredManager
impl Move for ActionRequiredManager
impl Send for ActionRequiredManager
impl Sync for ActionRequiredManager
impl Unpin for ActionRequiredManager
impl UnsafeUnpin for ActionRequiredManager
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.