diff options
| author | David Lönnhager <david.l@mullvad.net> | 2021-07-12 16:03:57 +0200 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2021-07-13 15:57:42 +0200 |
| commit | ff4dfa4d2e47d845f95d62f65f391883e7ad54b7 (patch) | |
| tree | b15724b15a5c636742986a05a1e874e84c4d8435 /talpid-core/src | |
| parent | 626649a70f62d51f6c47d83a8412041f95b4c04f (diff) | |
| download | mullvadvpn-ff4dfa4d2e47d845f95d62f65f391883e7ad54b7.tar.xz mullvadvpn-ff4dfa4d2e47d845f95d62f65f391883e7ad54b7.zip | |
Update tonic and prost
Diffstat (limited to 'talpid-core/src')
| -rw-r--r-- | talpid-core/src/tunnel/openvpn/mod.rs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/talpid-core/src/tunnel/openvpn/mod.rs b/talpid-core/src/tunnel/openvpn/mod.rs index 923fd8ed79..8ae967975a 100644 --- a/talpid-core/src/tunnel/openvpn/mod.rs +++ b/talpid-core/src/tunnel/openvpn/mod.rs @@ -1200,7 +1200,13 @@ mod event_server { #[derive(Debug)] pub struct StreamBox<T: AsyncRead + AsyncWrite>(pub T); - impl<T: AsyncRead + AsyncWrite> Connected for StreamBox<T> {} + impl<T: AsyncRead + AsyncWrite> Connected for StreamBox<T> { + type ConnectInfo = Option<()>; + + fn connect_info(&self) -> Self::ConnectInfo { + None + } + } impl<T: AsyncRead + AsyncWrite + Unpin> AsyncRead for StreamBox<T> { fn poll_read( mut self: Pin<&mut Self>, |
