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 GetNamespaceResponseFut: Future<Output = Result<FDomainGetNamespaceResult, 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 GetKoidResponseFut: Future<Output = Result<FDomainGetKoidResult, Error>> + Send;
// Required methods
fn create_channel(
&self,
handles: &[NewHandleId; 2],
) -> Self::CreateChannelResponseFut;
fn read_channel(&self, handle: &HandleId) -> Self::ReadChannelResponseFut;
fn write_channel(
&self,
handle: &HandleId,
data: &[u8],
handles: &Handles,
) -> Self::WriteChannelResponseFut;
fn read_channel_streaming_start(
&self,
handle: &HandleId,
) -> Self::ReadChannelStreamingStartResponseFut;
fn read_channel_streaming_stop(
&self,
handle: &HandleId,
) -> Self::ReadChannelStreamingStopResponseFut;
fn create_event(&self, handle: &NewHandleId) -> Self::CreateEventResponseFut;
fn create_event_pair(
&self,
handles: &[NewHandleId; 2],
) -> Self::CreateEventPairResponseFut;
fn create_socket(
&self,
options: SocketType,
handles: &[NewHandleId; 2],
) -> Self::CreateSocketResponseFut;
fn set_socket_disposition(
&self,
handle: &HandleId,
disposition: SocketDisposition,
disposition_peer: SocketDisposition,
) -> Self::SetSocketDispositionResponseFut;
fn read_socket(
&self,
handle: &HandleId,
max_bytes: u64,
) -> Self::ReadSocketResponseFut;
fn write_socket(
&self,
handle: &HandleId,
data: &[u8],
) -> Self::WriteSocketResponseFut;
fn read_socket_streaming_start(
&self,
handle: &HandleId,
) -> Self::ReadSocketStreamingStartResponseFut;
fn read_socket_streaming_stop(
&self,
handle: &HandleId,
) -> Self::ReadSocketStreamingStopResponseFut;
fn get_namespace(
&self,
new_handle: &NewHandleId,
) -> Self::GetNamespaceResponseFut;
fn close(&self, handles: &[HandleId]) -> Self::CloseResponseFut;
fn duplicate(
&self,
handle: &HandleId,
new_handle: &NewHandleId,
rights: Rights,
) -> Self::DuplicateResponseFut;
fn replace(
&self,
handle: &HandleId,
new_handle: &NewHandleId,
rights: Rights,
) -> Self::ReplaceResponseFut;
fn signal(
&self,
handle: &HandleId,
set: u32,
clear: u32,
) -> Self::SignalResponseFut;
fn signal_peer(
&self,
handle: &HandleId,
set: u32,
clear: u32,
) -> Self::SignalPeerResponseFut;
fn wait_for_signals(
&self,
handle: &HandleId,
signals: u32,
) -> Self::WaitForSignalsResponseFut;
fn get_koid(&self, handle: &HandleId) -> Self::GetKoidResponseFut;
}Required Associated Types§
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 GetNamespaceResponseFut: Future<Output = Result<FDomainGetNamespaceResult, 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 GetKoidResponseFut: Future<Output = Result<FDomainGetKoidResult, Error>> + Send
Required Methods§
fn create_channel( &self, handles: &[NewHandleId; 2], ) -> Self::CreateChannelResponseFut
fn read_channel(&self, handle: &HandleId) -> Self::ReadChannelResponseFut
fn write_channel( &self, handle: &HandleId, data: &[u8], handles: &Handles, ) -> Self::WriteChannelResponseFut
fn read_channel_streaming_start( &self, handle: &HandleId, ) -> Self::ReadChannelStreamingStartResponseFut
fn read_channel_streaming_stop( &self, handle: &HandleId, ) -> Self::ReadChannelStreamingStopResponseFut
fn create_event(&self, handle: &NewHandleId) -> Self::CreateEventResponseFut
fn create_event_pair( &self, handles: &[NewHandleId; 2], ) -> Self::CreateEventPairResponseFut
fn create_socket( &self, options: SocketType, handles: &[NewHandleId; 2], ) -> Self::CreateSocketResponseFut
fn set_socket_disposition( &self, handle: &HandleId, disposition: SocketDisposition, disposition_peer: SocketDisposition, ) -> Self::SetSocketDispositionResponseFut
fn read_socket( &self, handle: &HandleId, max_bytes: u64, ) -> Self::ReadSocketResponseFut
fn write_socket( &self, handle: &HandleId, data: &[u8], ) -> Self::WriteSocketResponseFut
fn read_socket_streaming_start( &self, handle: &HandleId, ) -> Self::ReadSocketStreamingStartResponseFut
fn read_socket_streaming_stop( &self, handle: &HandleId, ) -> Self::ReadSocketStreamingStopResponseFut
fn get_namespace( &self, new_handle: &NewHandleId, ) -> Self::GetNamespaceResponseFut
fn close(&self, handles: &[HandleId]) -> Self::CloseResponseFut
fn duplicate( &self, handle: &HandleId, new_handle: &NewHandleId, rights: Rights, ) -> Self::DuplicateResponseFut
fn replace( &self, handle: &HandleId, new_handle: &NewHandleId, rights: Rights, ) -> Self::ReplaceResponseFut
fn signal( &self, handle: &HandleId, set: u32, clear: u32, ) -> Self::SignalResponseFut
fn signal_peer( &self, handle: &HandleId, set: u32, clear: u32, ) -> Self::SignalPeerResponseFut
fn wait_for_signals( &self, handle: &HandleId, signals: u32, ) -> Self::WaitForSignalsResponseFut
fn get_koid(&self, handle: &HandleId) -> Self::GetKoidResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".