From 3708cbc6000dac17a26e07e81e02bcbebffe3d0f Mon Sep 17 00:00:00 2001 From: Satya Rohith Date: Mon, 20 Sep 2021 19:35:23 +0530 Subject: refactor(ext/net): make op_connect & op_connect_tls public (#12150) --- ext/net/ops.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/net/ops.rs') diff --git a/ext/net/ops.rs b/ext/net/ops.rs index 7f8a97df3..158f25515 100644 --- a/ext/net/ops.rs +++ b/ext/net/ops.rs @@ -278,13 +278,13 @@ where } #[derive(Deserialize)] -struct ConnectArgs { +pub struct ConnectArgs { transport: String, #[serde(flatten)] transport_args: ArgsEnum, } -async fn op_connect( +pub async fn op_connect( state: Rc>, args: ConnectArgs, _: (), -- cgit v1.2.3