Open fate-zx opened 2 months ago
error[E0046]: not all trait items implemented, missing: on_failure --> .cargo\registry\src\index.crates.io-6f17d22bba15001f\tower-http-0.5.2\src\trace\on_response.rs:35:1 | 27 | / fn on_failure( 28 | | &mut self, 29 | | error: &hyper::Error, 30 | | latency: std::time::Duration, 31 | | span: &Span, 32 | | ); | |__- on_failure from trait ... 35 | impl OnResponse for () { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing on_failure in implementation
on_failure
tower = { version = "0.4", features = ["util"] } tower-http = { version = "0.5.2", features = ["trace"] }
error[E0046]: not all trait items implemented, missing:
on_failure
--> .cargo\registry\src\index.crates.io-6f17d22bba15001f\tower-http-0.5.2\src\trace\on_response.rs:35:1 | 27 | / fn on_failure( 28 | | &mut self, 29 | | error: &hyper::Error, 30 | | latency: std::time::Duration, 31 | | span: &Span, 32 | | ); | |__-on_failure
from trait ... 35 | impl OnResponse for () { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missingon_failure
in implementationtower = { version = "0.4", features = ["util"] } tower-http = { version = "0.5.2", features = ["trace"] }