Add missing pub(crate) statements.

This commit is contained in:
Yannick Heinrich
2018-10-05 13:46:38 +02:00
committed by Sean McArthur
parent 4857a5917d
commit 647f59756e
10 changed files with 39 additions and 57 deletions

View File

@@ -8,7 +8,7 @@ use futures::future::{self, Either};
use futures::sync::{mpsc, oneshot};
use request::{Request, RequestBuilder};
use response::{self, Response};
use response::Response;
use {async_impl, header, Certificate, Identity, Method, IntoUrl, Proxy, RedirectPolicy, wait};
/// A `Client` to make Requests with.
@@ -500,7 +500,7 @@ impl ClientHandle {
}
};
res.map(|res| {
response::new(res, self.timeout.0, KeepCoreThreadAlive(Some(self.inner.clone())))
Response::new(res, self.timeout.0, KeepCoreThreadAlive(Some(self.inner.clone())))
})
}
}
@@ -515,9 +515,7 @@ impl Default for Timeout {
}
}
// pub(crate)
pub struct KeepCoreThreadAlive(Option<Arc<InnerClientHandle>>);
pub(crate) struct KeepCoreThreadAlive(Option<Arc<InnerClientHandle>>);
impl KeepCoreThreadAlive {
pub(crate) fn empty() -> KeepCoreThreadAlive {