diff options
Diffstat (limited to 'ext/net/ops_unix.rs')
-rw-r--r-- | ext/net/ops_unix.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/net/ops_unix.rs b/ext/net/ops_unix.rs index 1161d2759..bed923f8b 100644 --- a/ext/net/ops_unix.rs +++ b/ext/net/ops_unix.rs @@ -32,8 +32,8 @@ pub fn into_string(s: std::ffi::OsString) -> Result<String, AnyError> { }) } -struct UnixListenerResource { - listener: AsyncRefCell<UnixListener>, +pub(crate) struct UnixListenerResource { + pub listener: AsyncRefCell<UnixListener>, cancel: CancelHandle, } |