diff options
Diffstat (limited to 'ext/net/ops.rs')
-rw-r--r-- | ext/net/ops.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/net/ops.rs b/ext/net/ops.rs index 43a562e0f..8c8d32da5 100644 --- a/ext/net/ops.rs +++ b/ext/net/ops.rs @@ -538,7 +538,7 @@ where #[derive(Serialize, PartialEq, Debug)] #[serde(untagged)] -enum DnsReturnRecord { +pub enum DnsReturnRecord { A(String), Aaaa(String), Aname(String), @@ -583,7 +583,7 @@ pub struct NameServer { port: u16, } -async fn op_dns_resolve<NP>( +pub async fn op_dns_resolve<NP>( state: Rc<RefCell<OpState>>, args: ResolveAddrArgs, _: (), |