mirror of
https://github.com/OMGeeky/tarpc.git
synced 2026-02-23 15:49:54 +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! {
|
lazy_static! {
|
||||||
/// The `Remote` for the default reactor core.
|
/// The `Remote` for the default reactor core.
|
||||||
#[doc(hidden)]
|
static ref REMOTE: reactor::Remote = {
|
||||||
pub static ref REMOTE: reactor::Remote = {
|
|
||||||
spawn_core()
|
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.
|
/// Spawns a service that binds to the given address using the given handle.
|
||||||
#[doc(hidden)]
|
fn listen_with<S, Req, Resp, E>(new_service: S,
|
||||||
pub fn listen_with<S, Req, Resp, E>(new_service: S,
|
|
||||||
addr: SocketAddr,
|
addr: SocketAddr,
|
||||||
handle: Handle)
|
handle: Handle)
|
||||||
-> io::Result<SocketAddr>
|
-> io::Result<SocketAddr>
|
||||||
|
|||||||
Reference in New Issue
Block a user