pub enum A2aReply {
Message(Message),
Task(Task),
Running(TaskHandle),
}Expand description
A handler’s answer to a message.
Variants§
Message(Message)
A direct reply; no task.
Task(Task)
A task (stored, so GetTask and later messages find it).
Running(TaskHandle)
A task started with A2aContext::start, still being worked on.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for A2aReply
impl RefUnwindSafe for A2aReply
impl Send for A2aReply
impl Sync for A2aReply
impl Unpin for A2aReply
impl UnsafeUnpin for A2aReply
impl UnwindSafe for A2aReply
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