Searched refs:BoxedIo (Results 1 – 4 of 4) sorted by relevance
15 pub(crate) struct BoxedIo(Pin<Box<dyn Io>>); struct17 impl BoxedIo { implementation19 BoxedIo(Box::pin(io)) in new()23 impl Connection for BoxedIo { implementation29 impl rt::Read for BoxedIo { implementation39 impl rt::Write for BoxedIo { implementation
1 use super::BoxedIo;40 type Response = BoxedIo;72 Ok::<_, crate::BoxError>(BoxedIo::new(io)) in call()
15 use super::io::BoxedIo;104 pub(crate) async fn connect<I>(&self, io: I) -> Result<BoxedIo, crate::BoxError> in connect() argument119 Ok(BoxedIo::new(TokioIo::new(io))) in connect()
18 use self::io::BoxedIo;