fidl_fuchsia_starnix_binderTrait UnixDomainSocketProxyInterface
Source pub trait UnixDomainSocketProxyInterface: Send + Sync {
type CloseResponseFut: Future<Output = Result<CloseableCloseResult, Error>> + Send;
type QueryResponseFut: Future<Output = Result<Vec<u8>, Error>> + Send;
type GetEventResponseFut: Future<Output = Result<UnixDomainSocketGetEventResult, Error>> + Send;
type ReadResponseFut: Future<Output = Result<UnixDomainSocketReadResult, Error>> + Send;
type WriteResponseFut: Future<Output = Result<UnixDomainSocketWriteResult, Error>> + Send;
// Required methods
fn clone(&self, request: ServerEnd<CloneableMarker>) -> Result<(), Error>;
fn close(&self) -> Self::CloseResponseFut;
fn query(&self) -> Self::QueryResponseFut;
fn get_event(
&self,
payload: &UnixDomainSocketGetEventRequest,
) -> Self::GetEventResponseFut;
fn read(
&self,
payload: &UnixDomainSocketReadRequest,
) -> Self::ReadResponseFut;
fn write(
&self,
payload: UnixDomainSocketWriteRequest,
) -> Self::WriteResponseFut;
}