pub struct ModoMakeSpan;Expand description
Span maker that creates an http_request tracing span for each request.
Includes a tenant_id field (initially empty) so that the tenant
middleware can record it via span.record("tenant_id", ...) after
resolving the tenant.
Trait Implementations§
Source§impl Clone for ModoMakeSpan
impl Clone for ModoMakeSpan
Source§fn clone(&self) -> ModoMakeSpan
fn clone(&self) -> ModoMakeSpan
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 moreSource§impl Debug for ModoMakeSpan
impl Debug for ModoMakeSpan
Auto Trait Implementations§
impl Freeze for ModoMakeSpan
impl RefUnwindSafe for ModoMakeSpan
impl Send for ModoMakeSpan
impl Sync for ModoMakeSpan
impl Unpin for ModoMakeSpan
impl UnsafeUnpin for ModoMakeSpan
impl UnwindSafe for ModoMakeSpan
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