pub struct ClientPropagator { /* private fields */ }Expand description
Client-side CallInterceptor that injects
propagated extension data into outgoing requests.
Reads PropagatorContext from the task-local (set by ServerPropagator)
and injects matching metadata and headers into the outgoing request.
Aligned with Go’s a2aext.NewClientPropagator.
Implementations§
Source§impl ClientPropagator
impl ClientPropagator
Sourcepub fn with_config(config: ClientPropagatorConfig) -> Self
pub fn with_config(config: ClientPropagatorConfig) -> Self
Creates a new client propagator with custom configuration.
Trait Implementations§
Source§impl CallInterceptor for ClientPropagator
impl CallInterceptor for ClientPropagator
Source§impl Debug for ClientPropagator
impl Debug for ClientPropagator
Auto Trait Implementations§
impl Freeze for ClientPropagator
impl !RefUnwindSafe for ClientPropagator
impl Send for ClientPropagator
impl Sync for ClientPropagator
impl Unpin for ClientPropagator
impl UnsafeUnpin for ClientPropagator
impl !UnwindSafe for ClientPropagator
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