Struct tower_http::trace::DefaultOnEos
source · [−]pub struct DefaultOnEos { /* private fields */ }
This is supported on crate feature
trace
only.Implementations
Create a new DefaultOnEos
.
Set the Level
used for tracing events.
Defaults to Level::DEBUG
.
Set the LatencyUnit
latencies will be reported in.
Defaults to LatencyUnit::Millis
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DefaultOnEos
impl Send for DefaultOnEos
impl Sync for DefaultOnEos
impl Unpin for DefaultOnEos
impl UnwindSafe for DefaultOnEos
Blanket Implementations
Mutably borrows from an owned value. Read more
This is supported on crate feature
follow-redirect
only.Create a new Policy
that returns Action::Follow
only if self
and other
return
Action::Follow
. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more