summaryrefslogtreecommitdiff
path: root/ext/net/ops.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/net/ops.rs')
-rw-r--r--ext/net/ops.rs4
1 files changed, 2 insertions, 2 deletions
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<NP>(
+pub async fn op_connect<NP>(
state: Rc<RefCell<OpState>>,
args: ConnectArgs,
_: (),