added binary-safe (hopefully) pipe for upcoming dylib extension support
This commit is contained in:
@@ -281,6 +281,8 @@ impl CommCtx {
|
||||
pub fn client(&self) -> Rc<dyn Client> { self.client.clone() as Rc<dyn Client> }
|
||||
}
|
||||
|
||||
/// This function will exit only when one of the callbacks calls
|
||||
/// [CommCtx::quit].
|
||||
pub async fn io_comm<Req: 'static, Not: 'static>(
|
||||
o: Rc<Mutex<Pin<Box<dyn AsyncWrite>>>>,
|
||||
i: Mutex<Pin<Box<dyn AsyncRead>>>,
|
||||
|
||||
Reference in New Issue
Block a user