From 167c162fb4a1fb4f3b689f96bc03a8b47346ad5a Mon Sep 17 00:00:00 2001 From: tottoto Date: Fri, 2 Aug 2024 20:15:41 +0900 Subject: [PATCH] fix(transport): Reexport TimeoutExpired in trasnport module (#1832) --- tonic/src/transport/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tonic/src/transport/mod.rs b/tonic/src/transport/mod.rs index 3d3008b52..c81208d0e 100644 --- a/tonic/src/transport/mod.rs +++ b/tonic/src/transport/mod.rs @@ -106,6 +106,8 @@ pub use self::error::Error; #[doc(inline)] #[cfg(feature = "server")] pub use self::server::Server; +/// Deprecated. Please use [`crate::status::TimeoutExpired`] instead. +pub use crate::status::TimeoutExpired; #[cfg(feature = "tls")] pub use self::tls::Certificate;