pub struct CompletionAddress {
pub url: String,
}Expand description
Where a completion is posted.
Absent for a delegation whose parent waits on the connection it already holds and therefore
wants no completion. Reporting needs an address; knowing your parent does not, which is why
this is the optional half of a Spawner and the lineage is the unconditional half.
Carries no trust class: the outcome enters the task that made the delegation, under that task’s own provenance, so nothing about the completion’s class decides anything.
Fields§
§url: StringThe parent’s own A2A endpoint, http://host:port.
Trait Implementations§
Source§impl Clone for CompletionAddress
impl Clone for CompletionAddress
Source§impl Debug for CompletionAddress
impl Debug for CompletionAddress
impl Eq for CompletionAddress
Source§impl PartialEq for CompletionAddress
impl PartialEq for CompletionAddress
impl StructuralPartialEq for CompletionAddress
Auto Trait Implementations§
impl Forget for CompletionAddress
impl Freeze for CompletionAddress
impl Move for CompletionAddress
impl RefUnwindSafe for CompletionAddress
impl Send for CompletionAddress
impl Sync for CompletionAddress
impl Unpin for CompletionAddress
impl UnsafeUnpin for CompletionAddress
impl UnwindSafe for CompletionAddress
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more