pub struct DefaultBackgroundTaskHandler { /* private fields */ }Expand description
Opt-in default message/send handler wired up by
[A2AServerBuilder::with_default_background_task_handler] /
[A2AServerBuilder::with_default_task_handlers].
When an Agent is configured, delegates to the inference gateway via a
single non-streaming generate_content call and returns the resulting
task with state == Completed and the reply attached. Without an agent,
returns the static [NO_AGENT_REPLY] message - processWithoutAgentBackground.
Implementations§
Trait Implementations§
Source§impl Debug for DefaultBackgroundTaskHandler
impl Debug for DefaultBackgroundTaskHandler
Auto Trait Implementations§
impl Freeze for DefaultBackgroundTaskHandler
impl !RefUnwindSafe for DefaultBackgroundTaskHandler
impl Send for DefaultBackgroundTaskHandler
impl Sync for DefaultBackgroundTaskHandler
impl Unpin for DefaultBackgroundTaskHandler
impl UnsafeUnpin for DefaultBackgroundTaskHandler
impl !UnwindSafe for DefaultBackgroundTaskHandler
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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