mirror of
https://github.com/wez/wezterm.git
synced 2024-12-23 05:12:40 +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)]
|
#[cfg(windows)]
|
||||||
|
impl AsRawSocket for UnixStream {
|
||||||
|
fn as_raw_socket(&self) -> RawSocket {
|
||||||
|
self.0.as_raw_socket()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#[cfg(windows)]
|
||||||
impl AsSocket for UnixStream {
|
impl AsSocket for UnixStream {
|
||||||
fn as_socket(&self) -> BorrowedSocket {
|
fn as_socket(&self) -> BorrowedSocket {
|
||||||
self.0.as_socket()
|
self.0.as_socket()
|
||||||
|
Loading…
Reference in New Issue
Block a user