fidl_fuchsia_fdomain

Trait FDomainProxyInterface

Source
pub trait FDomainProxyInterface: Send + Sync {
Show 42 associated items type CreateChannelResponseFut: Future<Output = Result<ChannelCreateChannelResult, Error>> + Send; type ReadChannelResponseFut: Future<Output = Result<ChannelReadChannelResult, Error>> + Send; type WriteChannelResponseFut: Future<Output = Result<ChannelWriteChannelResult, Error>> + Send; type ReadChannelStreamingStartResponseFut: Future<Output = Result<ChannelReadChannelStreamingStartResult, Error>> + Send; type ReadChannelStreamingStopResponseFut: Future<Output = Result<ChannelReadChannelStreamingStopResult, Error>> + Send; type CreateEventResponseFut: Future<Output = Result<EventCreateEventResult, Error>> + Send; type CreateEventPairResponseFut: Future<Output = Result<EventPairCreateEventPairResult, Error>> + Send; type CreateSocketResponseFut: Future<Output = Result<SocketCreateSocketResult, Error>> + Send; type SetSocketDispositionResponseFut: Future<Output = Result<SocketSetSocketDispositionResult, Error>> + Send; type ReadSocketResponseFut: Future<Output = Result<SocketReadSocketResult, Error>> + Send; type WriteSocketResponseFut: Future<Output = Result<SocketWriteSocketResult, Error>> + Send; type ReadSocketStreamingStartResponseFut: Future<Output = Result<SocketReadSocketStreamingStartResult, Error>> + Send; type ReadSocketStreamingStopResponseFut: Future<Output = Result<SocketReadSocketStreamingStopResult, Error>> + Send; type NamespaceResponseFut: Future<Output = Result<FDomainNamespaceResult, Error>> + Send; type CloseResponseFut: Future<Output = Result<FDomainCloseResult, Error>> + Send; type DuplicateResponseFut: Future<Output = Result<FDomainDuplicateResult, Error>> + Send; type ReplaceResponseFut: Future<Output = Result<FDomainReplaceResult, Error>> + Send; type SignalResponseFut: Future<Output = Result<FDomainSignalResult, Error>> + Send; type SignalPeerResponseFut: Future<Output = Result<FDomainSignalPeerResult, Error>> + Send; type WaitForSignalsResponseFut: Future<Output = Result<FDomainWaitForSignalsResult, Error>> + Send; type AcknowledgeWriteErrorResponseFut: Future<Output = Result<FDomainAcknowledgeWriteErrorResult, Error>> + Send; // Required methods fn create_channel( &self, handles: &[NewHid; 2], ) -> Self::CreateChannelResponseFut; fn read_channel(&self, handle: &Hid) -> Self::ReadChannelResponseFut; fn write_channel( &self, handle: &Hid, data: &[u8], handles: &Handles, ) -> Self::WriteChannelResponseFut; fn read_channel_streaming_start( &self, handle: &Hid, ) -> Self::ReadChannelStreamingStartResponseFut; fn read_channel_streaming_stop( &self, handle: &Hid, ) -> Self::ReadChannelStreamingStopResponseFut; fn create_event(&self, handle: &NewHid) -> Self::CreateEventResponseFut; fn create_event_pair( &self, handles: &[NewHid; 2], ) -> Self::CreateEventPairResponseFut; fn create_socket( &self, options: SocketType, handles: &[NewHid; 2], ) -> Self::CreateSocketResponseFut; fn set_socket_disposition( &self, handle: &Hid, disposition: SocketDisposition, disposition_peer: SocketDisposition, ) -> Self::SetSocketDispositionResponseFut; fn read_socket( &self, handle: &Hid, max_bytes: u64, ) -> Self::ReadSocketResponseFut; fn write_socket( &self, handle: &Hid, data: &[u8], ) -> Self::WriteSocketResponseFut; fn read_socket_streaming_start( &self, handle: &Hid, ) -> Self::ReadSocketStreamingStartResponseFut; fn read_socket_streaming_stop( &self, handle: &Hid, ) -> Self::ReadSocketStreamingStopResponseFut; fn namespace(&self, new_handle: &NewHid) -> Self::NamespaceResponseFut; fn close(&self, handles: &[Hid]) -> Self::CloseResponseFut; fn duplicate( &self, handle: &Hid, new_handle: &NewHid, rights: Rights, ) -> Self::DuplicateResponseFut; fn replace( &self, handle: &Hid, new_handle: &NewHid, rights: Rights, ) -> Self::ReplaceResponseFut; fn signal( &self, handle: &Hid, set: u32, clear: u32, ) -> Self::SignalResponseFut; fn signal_peer( &self, handle: &Hid, set: u32, clear: u32, ) -> Self::SignalPeerResponseFut; fn wait_for_signals( &self, handle: &Hid, signals: u32, ) -> Self::WaitForSignalsResponseFut; fn acknowledge_write_error( &self, handle: &Hid, ) -> Self::AcknowledgeWriteErrorResponseFut;
}

Required Associated Types§

Source

type CreateChannelResponseFut: Future<Output = Result<ChannelCreateChannelResult, Error>> + Send

Source

type ReadChannelResponseFut: Future<Output = Result<ChannelReadChannelResult, Error>> + Send

Source

type WriteChannelResponseFut: Future<Output = Result<ChannelWriteChannelResult, Error>> + Send

Source

type ReadChannelStreamingStartResponseFut: Future<Output = Result<ChannelReadChannelStreamingStartResult, Error>> + Send

Source

type ReadChannelStreamingStopResponseFut: Future<Output = Result<ChannelReadChannelStreamingStopResult, Error>> + Send

Source

type CreateEventResponseFut: Future<Output = Result<EventCreateEventResult, Error>> + Send

Source

type CreateEventPairResponseFut: Future<Output = Result<EventPairCreateEventPairResult, Error>> + Send

Source

type CreateSocketResponseFut: Future<Output = Result<SocketCreateSocketResult, Error>> + Send

Source

type SetSocketDispositionResponseFut: Future<Output = Result<SocketSetSocketDispositionResult, Error>> + Send

Source

type ReadSocketResponseFut: Future<Output = Result<SocketReadSocketResult, Error>> + Send

Source

type WriteSocketResponseFut: Future<Output = Result<SocketWriteSocketResult, Error>> + Send

Source

type ReadSocketStreamingStartResponseFut: Future<Output = Result<SocketReadSocketStreamingStartResult, Error>> + Send

Source

type ReadSocketStreamingStopResponseFut: Future<Output = Result<SocketReadSocketStreamingStopResult, Error>> + Send

Source

type NamespaceResponseFut: Future<Output = Result<FDomainNamespaceResult, Error>> + Send

Source

type CloseResponseFut: Future<Output = Result<FDomainCloseResult, Error>> + Send

Source

type DuplicateResponseFut: Future<Output = Result<FDomainDuplicateResult, Error>> + Send

Source

type ReplaceResponseFut: Future<Output = Result<FDomainReplaceResult, Error>> + Send

Source

type SignalResponseFut: Future<Output = Result<FDomainSignalResult, Error>> + Send

Source

type SignalPeerResponseFut: Future<Output = Result<FDomainSignalPeerResult, Error>> + Send

Source

type WaitForSignalsResponseFut: Future<Output = Result<FDomainWaitForSignalsResult, Error>> + Send

Source

type AcknowledgeWriteErrorResponseFut: Future<Output = Result<FDomainAcknowledgeWriteErrorResult, Error>> + Send

Required Methods§

Source

fn create_channel( &self, handles: &[NewHid; 2], ) -> Self::CreateChannelResponseFut

Source

fn read_channel(&self, handle: &Hid) -> Self::ReadChannelResponseFut

Source

fn write_channel( &self, handle: &Hid, data: &[u8], handles: &Handles, ) -> Self::WriteChannelResponseFut

Source

fn read_channel_streaming_start( &self, handle: &Hid, ) -> Self::ReadChannelStreamingStartResponseFut

Source

fn read_channel_streaming_stop( &self, handle: &Hid, ) -> Self::ReadChannelStreamingStopResponseFut

Source

fn create_event(&self, handle: &NewHid) -> Self::CreateEventResponseFut

Source

fn create_event_pair( &self, handles: &[NewHid; 2], ) -> Self::CreateEventPairResponseFut

Source

fn create_socket( &self, options: SocketType, handles: &[NewHid; 2], ) -> Self::CreateSocketResponseFut

Source

fn set_socket_disposition( &self, handle: &Hid, disposition: SocketDisposition, disposition_peer: SocketDisposition, ) -> Self::SetSocketDispositionResponseFut

Source

fn read_socket( &self, handle: &Hid, max_bytes: u64, ) -> Self::ReadSocketResponseFut

Source

fn write_socket( &self, handle: &Hid, data: &[u8], ) -> Self::WriteSocketResponseFut

Source

fn read_socket_streaming_start( &self, handle: &Hid, ) -> Self::ReadSocketStreamingStartResponseFut

Source

fn read_socket_streaming_stop( &self, handle: &Hid, ) -> Self::ReadSocketStreamingStopResponseFut

Source

fn namespace(&self, new_handle: &NewHid) -> Self::NamespaceResponseFut

Source

fn close(&self, handles: &[Hid]) -> Self::CloseResponseFut

Source

fn duplicate( &self, handle: &Hid, new_handle: &NewHid, rights: Rights, ) -> Self::DuplicateResponseFut

Source

fn replace( &self, handle: &Hid, new_handle: &NewHid, rights: Rights, ) -> Self::ReplaceResponseFut

Source

fn signal(&self, handle: &Hid, set: u32, clear: u32) -> Self::SignalResponseFut

Source

fn signal_peer( &self, handle: &Hid, set: u32, clear: u32, ) -> Self::SignalPeerResponseFut

Source

fn wait_for_signals( &self, handle: &Hid, signals: u32, ) -> Self::WaitForSignalsResponseFut

Source

fn acknowledge_write_error( &self, handle: &Hid, ) -> Self::AcknowledgeWriteErrorResponseFut

Implementors§

Source§

impl FDomainProxyInterface for FDomainProxy

Source§

type CreateChannelResponseFut = QueryResponseFut<Result<(), Error>>

Source§

type ReadChannelResponseFut = QueryResponseFut<Result<(Vec<u8>, Vec<HandleInfo>), Error>>

Source§

type WriteChannelResponseFut = QueryResponseFut<Result<(), WriteChannelError>>

Source§

type ReadChannelStreamingStartResponseFut = QueryResponseFut<Result<(), Error>>

Source§

type ReadChannelStreamingStopResponseFut = QueryResponseFut<Result<(), Error>>

Source§

type CreateEventResponseFut = QueryResponseFut<Result<(), Error>>

Source§

type CreateEventPairResponseFut = QueryResponseFut<Result<(), Error>>

Source§

type CreateSocketResponseFut = QueryResponseFut<Result<(), Error>>

Source§

type SetSocketDispositionResponseFut = QueryResponseFut<Result<(), Error>>

Source§

type ReadSocketResponseFut = QueryResponseFut<Result<Vec<u8>, Error>>

Source§

type WriteSocketResponseFut = QueryResponseFut<Result<u64, WriteSocketError>>

Source§

type ReadSocketStreamingStartResponseFut = QueryResponseFut<Result<(), Error>>

Source§

type ReadSocketStreamingStopResponseFut = QueryResponseFut<Result<(), Error>>

Source§

type NamespaceResponseFut = QueryResponseFut<Result<(), Error>>

Source§

type CloseResponseFut = QueryResponseFut<Result<(), Error>>

Source§

type DuplicateResponseFut = QueryResponseFut<Result<(), Error>>

Source§

type ReplaceResponseFut = QueryResponseFut<Result<(), Error>>

Source§

type SignalResponseFut = QueryResponseFut<Result<(), Error>>

Source§

type SignalPeerResponseFut = QueryResponseFut<Result<(), Error>>

Source§

type WaitForSignalsResponseFut = QueryResponseFut<Result<u32, Error>>

Source§

type AcknowledgeWriteErrorResponseFut = QueryResponseFut<Result<(), Error>>