Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(server): Move recover_error service to service module #1744

Merged
merged 1 commit into from
Jun 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions tonic/src/transport/server/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

mod conn;
mod incoming;
mod recover_error;
mod service;
#[cfg(feature = "tls")]
mod tls;
Expand Down Expand Up @@ -40,7 +39,7 @@ pub(crate) use tokio_rustls::server::TlsStream;
#[cfg(feature = "tls")]
use crate::transport::Error;

use self::{recover_error::RecoverError, service::ServerIo};
use self::service::{RecoverError, ServerIo};
use super::service::GrpcTimeout;
use crate::body::{boxed, BoxBody};
use crate::server::NamedService;
Expand Down
3 changes: 3 additions & 0 deletions tonic/src/transport/server/service/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
mod io;
pub(crate) use self::io::ServerIo;

mod recover_error;
pub(crate) use self::recover_error::RecoverError;

#[cfg(feature = "tls")]
mod tls;
#[cfg(feature = "tls")]
Expand Down