Struct tower_http::trace::DefaultOnFailure
source · [−]pub struct DefaultOnFailure { /* private fields */ }This is supported on crate feature
trace only.Implementations
Set the Level used for tracing events.
Defaults to Level::ERROR.
Set the LatencyUnit latencies will be reported in.
Defaults to LatencyUnit::Millis.
Trait Implementations
Do the thing. Read more
Auto Trait Implementations
impl RefUnwindSafe for DefaultOnFailure
impl Send for DefaultOnFailure
impl Sync for DefaultOnFailure
impl Unpin for DefaultOnFailure
impl UnwindSafe for DefaultOnFailure
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