mirror of
https://github.com/OMGeeky/tarpc.git
synced 2026-01-02 09:31:21 +01:00
Make private a couple items that no longer need to be public.
This commit is contained in:
@@ -119,8 +119,7 @@ use tokio_core::reactor;
|
||||
|
||||
lazy_static! {
|
||||
/// The `Remote` for the default reactor core.
|
||||
#[doc(hidden)]
|
||||
pub static ref REMOTE: reactor::Remote = {
|
||||
static ref REMOTE: reactor::Remote = {
|
||||
spawn_core()
|
||||
};
|
||||
}
|
||||
|
||||
@@ -72,9 +72,9 @@ pub fn listen<S, Req, Resp, E>(new_service: S, addr: SocketAddr, options: Option
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// Spawns a service that binds to the given address using the given handle.
|
||||
#[doc(hidden)]
|
||||
pub fn listen_with<S, Req, Resp, E>(new_service: S,
|
||||
fn listen_with<S, Req, Resp, E>(new_service: S,
|
||||
addr: SocketAddr,
|
||||
handle: Handle)
|
||||
-> io::Result<SocketAddr>
|
||||
|
||||
Reference in New Issue
Block a user