mirror of
https://github.com/wez/wezterm.git
synced 2024-12-22 21:01:36 +03:00
wezterm-uds: impl AsRawSocket
This commit is contained in:
parent
0fcd4a847c
commit
44b61d7e82
@ -62,6 +62,12 @@ impl IntoRawSocket for UnixStream {
|
||||
}
|
||||
}
|
||||
#[cfg(windows)]
|
||||
impl AsRawSocket for UnixStream {
|
||||
fn as_raw_socket(&self) -> RawSocket {
|
||||
self.0.as_raw_socket()
|
||||
}
|
||||
}
|
||||
#[cfg(windows)]
|
||||
impl AsSocket for UnixStream {
|
||||
fn as_socket(&self) -> BorrowedSocket {
|
||||
self.0.as_socket()
|
||||
|
Loading…
Reference in New Issue
Block a user