fidl_fuchsia_virtualizationTrait HostVsockEndpointProxyInterface
Source pub trait HostVsockEndpointProxyInterface: Send + Sync {
type ListenResponseFut: Future<Output = Result<HostVsockEndpointListenResult, Error>> + Send;
type ConnectResponseFut: Future<Output = Result<HostVsockEndpointConnectResult, Error>> + Send;
// Required methods
fn listen(
&self,
port: u32,
acceptor: ClientEnd<HostVsockAcceptorMarker>,
) -> Self::ListenResponseFut;
fn connect(&self, guest_port: u32) -> Self::ConnectResponseFut;
}