pub struct FastraceClientLayer;Expand description
Client layer for injecting trace context into outgoing requests.
This layer adds the current trace context to outgoing requests, allowing the receiving service to continue the same trace. Add this to your tower client to automatically propagate trace context.
Trait Implementations§
Source§impl Clone for FastraceClientLayer
impl Clone for FastraceClientLayer
Source§fn clone(&self) -> FastraceClientLayer
fn clone(&self) -> FastraceClientLayer
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FastraceClientLayer
impl RefUnwindSafe for FastraceClientLayer
impl Send for FastraceClientLayer
impl Sync for FastraceClientLayer
impl Unpin for FastraceClientLayer
impl UnwindSafe for FastraceClientLayer
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