fidl_fuchsia_hardware_vsockTrait DeviceProxyInterface
Source pub trait DeviceProxyInterface: Send + Sync {
type StartResponseFut: Future<Output = Result<DeviceStartResult, Error>> + Send;
type SendRequestResponseFut: Future<Output = Result<DeviceSendRequestResult, Error>> + Send;
type SendShutdownResponseFut: Future<Output = Result<DeviceSendShutdownResult, Error>> + Send;
type SendRstResponseFut: Future<Output = Result<DeviceSendRstResult, Error>> + Send;
type SendResponseResponseFut: Future<Output = Result<DeviceSendResponseResult, Error>> + Send;
type GetCidResponseFut: Future<Output = Result<u32, Error>> + Send;
// Required methods
fn start(&self, cb: ClientEnd<CallbacksMarker>) -> Self::StartResponseFut;
fn send_request(
&self,
addr: &Addr,
data: Socket,
) -> Self::SendRequestResponseFut;
fn send_shutdown(&self, addr: &Addr) -> Self::SendShutdownResponseFut;
fn send_rst(&self, addr: &Addr) -> Self::SendRstResponseFut;
fn send_response(
&self,
addr: &Addr,
data: Socket,
) -> Self::SendResponseResponseFut;
fn get_cid(&self) -> Self::GetCidResponseFut;
}