pub struct TracingLayer;Expand description
Emits a tracing span around each call with latency and usage.
Implementations§
Source§impl TracingLayer
impl TracingLayer
Sourcepub fn new() -> TracingLayer
pub fn new() -> TracingLayer
Construct the layer.
Trait Implementations§
Source§impl Clone for TracingLayer
impl Clone for TracingLayer
Source§fn clone(&self) -> TracingLayer
fn clone(&self) -> TracingLayer
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 TracingLayer
Source§impl Debug for TracingLayer
impl Debug for TracingLayer
Source§impl Default for TracingLayer
impl Default for TracingLayer
Source§fn default() -> TracingLayer
fn default() -> TracingLayer
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TracingLayer
impl RefUnwindSafe for TracingLayer
impl Send for TracingLayer
impl Sync for TracingLayer
impl Unpin for TracingLayer
impl UnsafeUnpin for TracingLayer
impl UnwindSafe for TracingLayer
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