pub struct FastraceServerLayer;Expand description
Server layer for intercepting and processing trace context in incoming requests.
This layer extracts tracing context from incoming requests and creates a new span for each request. Add this to your tower server to automatically handle trace context propagation.
Trait Implementations§
Source§impl Clone for FastraceServerLayer
impl Clone for FastraceServerLayer
Source§fn clone(&self) -> FastraceServerLayer
fn clone(&self) -> FastraceServerLayer
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 FastraceServerLayer
impl RefUnwindSafe for FastraceServerLayer
impl Send for FastraceServerLayer
impl Sync for FastraceServerLayer
impl Unpin for FastraceServerLayer
impl UnwindSafe for FastraceServerLayer
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