Home
last modified time | relevance | path

Searched defs:StreamSocket (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Virtualization/libs/libforwarder/src/
Dstream.rs48 pub struct StreamSocket { struct
53 impl StreamSocket { argument
55 pub fn connect(sockaddr: &str) -> result::Result<StreamSocket, StreamSocketError> { in connect()
97 impl io::Read for StreamSocket { implementation
110 impl io::Write for StreamSocket { implementation
136 impl AsRawFd for StreamSocket { implementation
142 impl From<TcpStream> for StreamSocket { implementation
148 impl From<UnixStream> for StreamSocket { implementation
154 impl From<VsockStream> for StreamSocket { implementation
160 impl FromRawFd for StreamSocket { implementation
[all …]
Dforwarder.rs64 fn forward(from_stream: &mut StreamSocket, to_stream: &mut StreamSocket) -> Result<bool> { in forward()
79 pub fn new(local: StreamSocket, remote: StreamSocket) -> Self { in new()
98 pub fn local_stream(&self) -> &StreamSocket { in local_stream()
103 pub fn remote_stream(&self) -> &StreamSocket { in remote_stream()
/packages/modules/Virtualization/guest/forwarder_guest/src/
Dmain.rs59 fn run_forwarder(local_stream: StreamSocket, remote_stream: StreamSocket) -> Result<()> { in run_forwarder()