fidl_fidl_serversuiteTrait ClosedTargetProxyInterface
Source pub trait ClosedTargetProxyInterface: Send + Sync {
type TwoWayNoPayloadResponseFut: Future<Output = Result<(), Error>> + Send;
type TwoWayStructPayloadResponseFut: Future<Output = Result<i8, Error>> + Send;
type TwoWayTablePayloadResponseFut: Future<Output = Result<ClosedTargetTwoWayTablePayloadResponse, Error>> + Send;
type TwoWayUnionPayloadResponseFut: Future<Output = Result<ClosedTargetTwoWayUnionPayloadResponse, Error>> + Send;
type TwoWayResultResponseFut: Future<Output = Result<ClosedTargetTwoWayResultResult, Error>> + Send;
type GetHandleRightsResponseFut: Future<Output = Result<Rights, Error>> + Send;
type GetSignalableEventRightsResponseFut: Future<Output = Result<Rights, Error>> + Send;
type EchoAsTransferableSignalableEventResponseFut: Future<Output = Result<Event, Error>> + Send;
type ByteVectorSizeResponseFut: Future<Output = Result<u32, Error>> + Send;
type HandleVectorSizeResponseFut: Future<Output = Result<u32, Error>> + Send;
type CreateNByteVectorResponseFut: Future<Output = Result<Vec<u8>, Error>> + Send;
type CreateNHandleVectorResponseFut: Future<Output = Result<Vec<Event>, Error>> + Send;
Show 13 methods
// Required methods
fn one_way_no_payload(&self) -> Result<(), Error>;
fn two_way_no_payload(&self) -> Self::TwoWayNoPayloadResponseFut;
fn two_way_struct_payload(
&self,
v: i8,
) -> Self::TwoWayStructPayloadResponseFut;
fn two_way_table_payload(
&self,
payload: &ClosedTargetTwoWayTablePayloadRequest,
) -> Self::TwoWayTablePayloadResponseFut;
fn two_way_union_payload(
&self,
payload: &ClosedTargetTwoWayUnionPayloadRequest,
) -> Self::TwoWayUnionPayloadResponseFut;
fn two_way_result(
&self,
payload: &ClosedTargetTwoWayResultRequest,
) -> Self::TwoWayResultResponseFut;
fn get_handle_rights(
&self,
handle: Handle,
) -> Self::GetHandleRightsResponseFut;
fn get_signalable_event_rights(
&self,
handle: Event,
) -> Self::GetSignalableEventRightsResponseFut;
fn echo_as_transferable_signalable_event(
&self,
handle: Handle,
) -> Self::EchoAsTransferableSignalableEventResponseFut;
fn byte_vector_size(&self, vec: &[u8]) -> Self::ByteVectorSizeResponseFut;
fn handle_vector_size(
&self,
vec: Vec<Event>,
) -> Self::HandleVectorSizeResponseFut;
fn create_n_byte_vector(&self, n: u32) -> Self::CreateNByteVectorResponseFut;
fn create_n_handle_vector(
&self,
n: u32,
) -> Self::CreateNHandleVectorResponseFut;
}