pub enum MailboxTaskState {
Submitted,
Working,
InputRequired,
Completed,
Failed,
Cancelled,
}Expand description
Opaque task state at the port boundary.
Adapters convert to/from a2a::TaskState internally.
Variants§
Submitted
Submitted, not yet started.
Working
Actively being worked on.
InputRequired
Waiting for caller input.
Completed
Finished successfully.
Failed
Ended in error.
Cancelled
Explicitly cancelled.
Trait Implementations§
Source§impl Clone for MailboxTaskState
impl Clone for MailboxTaskState
Source§fn clone(&self) -> MailboxTaskState
fn clone(&self) -> MailboxTaskState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MailboxTaskState
Source§impl Debug for MailboxTaskState
impl Debug for MailboxTaskState
impl Eq for MailboxTaskState
Source§impl PartialEq for MailboxTaskState
impl PartialEq for MailboxTaskState
impl StructuralPartialEq for MailboxTaskState
Auto Trait Implementations§
impl Freeze for MailboxTaskState
impl RefUnwindSafe for MailboxTaskState
impl Send for MailboxTaskState
impl Sync for MailboxTaskState
impl Unpin for MailboxTaskState
impl UnsafeUnpin for MailboxTaskState
impl UnwindSafe for MailboxTaskState
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