pub trait SocketProxyInterface: Send + Sync {
Show 71 associated items type CloseResponseFut: Future<Output = Result<CloseableCloseResult, Error>> + Send; type QueryResponseFut: Future<Output = Result<Vec<u8>, Error>> + Send; type SetReuseAddressResponseFut: Future<Output = Result<BaseSocketSetReuseAddressResult, Error>> + Send; type GetReuseAddressResponseFut: Future<Output = Result<BaseSocketGetReuseAddressResult, Error>> + Send; type GetErrorResponseFut: Future<Output = Result<BaseSocketGetErrorResult, Error>> + Send; type SetBroadcastResponseFut: Future<Output = Result<BaseSocketSetBroadcastResult, Error>> + Send; type GetBroadcastResponseFut: Future<Output = Result<BaseSocketGetBroadcastResult, Error>> + Send; type SetSendBufferResponseFut: Future<Output = Result<BaseSocketSetSendBufferResult, Error>> + Send; type GetSendBufferResponseFut: Future<Output = Result<BaseSocketGetSendBufferResult, Error>> + Send; type SetReceiveBufferResponseFut: Future<Output = Result<BaseSocketSetReceiveBufferResult, Error>> + Send; type GetReceiveBufferResponseFut: Future<Output = Result<BaseSocketGetReceiveBufferResult, Error>> + Send; type SetKeepAliveResponseFut: Future<Output = Result<BaseSocketSetKeepAliveResult, Error>> + Send; type GetKeepAliveResponseFut: Future<Output = Result<BaseSocketGetKeepAliveResult, Error>> + Send; type SetOutOfBandInlineResponseFut: Future<Output = Result<BaseSocketSetOutOfBandInlineResult, Error>> + Send; type GetOutOfBandInlineResponseFut: Future<Output = Result<BaseSocketGetOutOfBandInlineResult, Error>> + Send; type SetNoCheckResponseFut: Future<Output = Result<BaseSocketSetNoCheckResult, Error>> + Send; type GetNoCheckResponseFut: Future<Output = Result<BaseSocketGetNoCheckResult, Error>> + Send; type SetLingerResponseFut: Future<Output = Result<BaseSocketSetLingerResult, Error>> + Send; type GetLingerResponseFut: Future<Output = Result<BaseSocketGetLingerResult, Error>> + Send; type SetReusePortResponseFut: Future<Output = Result<BaseSocketSetReusePortResult, Error>> + Send; type GetReusePortResponseFut: Future<Output = Result<BaseSocketGetReusePortResult, Error>> + Send; type GetAcceptConnResponseFut: Future<Output = Result<BaseSocketGetAcceptConnResult, Error>> + Send; type SetBindToDeviceResponseFut: Future<Output = Result<BaseSocketSetBindToDeviceResult, Error>> + Send; type GetBindToDeviceResponseFut: Future<Output = Result<BaseSocketGetBindToDeviceResult, Error>> + Send; type SetBindToInterfaceIndexResponseFut: Future<Output = Result<BaseSocketSetBindToInterfaceIndexResult, Error>> + Send; type GetBindToInterfaceIndexResponseFut: Future<Output = Result<BaseSocketGetBindToInterfaceIndexResult, Error>> + Send; type SetTimestampResponseFut: Future<Output = Result<BaseSocketSetTimestampResult, Error>> + Send; type GetTimestampResponseFut: Future<Output = Result<BaseSocketGetTimestampResult, Error>> + Send; type SetMarkResponseFut: Future<Output = Result<BaseSocketSetMarkResult, Error>> + Send; type GetMarkResponseFut: Future<Output = Result<BaseSocketGetMarkResult, Error>> + Send; type DescribeResponseFut: Future<Output = Result<SocketDescribeResponse, Error>> + Send; type BindResponseFut: Future<Output = Result<SocketBindResult, Error>> + Send; type GetInfoResponseFut: Future<Output = Result<SocketGetInfoResult, Error>> + Send; type RecvMsgResponseFut: Future<Output = Result<SocketRecvMsgResult, Error>> + Send; type SendMsgResponseFut: Future<Output = Result<SocketSendMsgResult, Error>> + Send; // Required methods fn clone2(&self, request: ServerEnd<CloneableMarker>) -> Result<(), Error>; fn close(&self) -> Self::CloseResponseFut; fn query(&self) -> Self::QueryResponseFut; fn set_reuse_address(&self, value: bool) -> Self::SetReuseAddressResponseFut; fn get_reuse_address(&self) -> Self::GetReuseAddressResponseFut; fn get_error(&self) -> Self::GetErrorResponseFut; fn set_broadcast(&self, value: bool) -> Self::SetBroadcastResponseFut; fn get_broadcast(&self) -> Self::GetBroadcastResponseFut; fn set_send_buffer( &self, value_bytes: u64 ) -> Self::SetSendBufferResponseFut; fn get_send_buffer(&self) -> Self::GetSendBufferResponseFut; fn set_receive_buffer( &self, value_bytes: u64 ) -> Self::SetReceiveBufferResponseFut; fn get_receive_buffer(&self) -> Self::GetReceiveBufferResponseFut; fn set_keep_alive(&self, value: bool) -> Self::SetKeepAliveResponseFut; fn get_keep_alive(&self) -> Self::GetKeepAliveResponseFut; fn set_out_of_band_inline( &self, value: bool ) -> Self::SetOutOfBandInlineResponseFut; fn get_out_of_band_inline(&self) -> Self::GetOutOfBandInlineResponseFut; fn set_no_check(&self, value: bool) -> Self::SetNoCheckResponseFut; fn get_no_check(&self) -> Self::GetNoCheckResponseFut; fn set_linger( &self, linger: bool, length_secs: u32 ) -> Self::SetLingerResponseFut; fn get_linger(&self) -> Self::GetLingerResponseFut; fn set_reuse_port(&self, value: bool) -> Self::SetReusePortResponseFut; fn get_reuse_port(&self) -> Self::GetReusePortResponseFut; fn get_accept_conn(&self) -> Self::GetAcceptConnResponseFut; fn set_bind_to_device( &self, value: &str ) -> Self::SetBindToDeviceResponseFut; fn get_bind_to_device(&self) -> Self::GetBindToDeviceResponseFut; fn set_bind_to_interface_index( &self, value: u64 ) -> Self::SetBindToInterfaceIndexResponseFut; fn get_bind_to_interface_index( &self ) -> Self::GetBindToInterfaceIndexResponseFut; fn set_timestamp( &self, value: TimestampOption ) -> Self::SetTimestampResponseFut; fn get_timestamp(&self) -> Self::GetTimestampResponseFut; fn set_mark( &self, domain: MarkDomain, mark: &OptionalUint32 ) -> Self::SetMarkResponseFut; fn get_mark(&self, domain: MarkDomain) -> Self::GetMarkResponseFut; fn describe(&self) -> Self::DescribeResponseFut; fn bind( &self, protocol: Option<&ProtocolAssociation>, bound_interface_id: &BoundInterfaceId ) -> Self::BindResponseFut; fn get_info(&self) -> Self::GetInfoResponseFut; fn recv_msg( &self, want_packet_info: bool, data_len: u32, want_control: bool, flags: RecvMsgFlags ) -> Self::RecvMsgResponseFut; fn send_msg( &self, packet_info: Option<&PacketInfo>, data: &[u8], control: &SendControlData, flags: SendMsgFlags ) -> Self::SendMsgResponseFut;
}

Required Associated Types§

source

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

source

type QueryResponseFut: Future<Output = Result<Vec<u8>, Error>> + Send

source

type SetReuseAddressResponseFut: Future<Output = Result<BaseSocketSetReuseAddressResult, Error>> + Send

source

type GetReuseAddressResponseFut: Future<Output = Result<BaseSocketGetReuseAddressResult, Error>> + Send

source

type GetErrorResponseFut: Future<Output = Result<BaseSocketGetErrorResult, Error>> + Send

source

type SetBroadcastResponseFut: Future<Output = Result<BaseSocketSetBroadcastResult, Error>> + Send

source

type GetBroadcastResponseFut: Future<Output = Result<BaseSocketGetBroadcastResult, Error>> + Send

source

type SetSendBufferResponseFut: Future<Output = Result<BaseSocketSetSendBufferResult, Error>> + Send

source

type GetSendBufferResponseFut: Future<Output = Result<BaseSocketGetSendBufferResult, Error>> + Send

source

type SetReceiveBufferResponseFut: Future<Output = Result<BaseSocketSetReceiveBufferResult, Error>> + Send

source

type GetReceiveBufferResponseFut: Future<Output = Result<BaseSocketGetReceiveBufferResult, Error>> + Send

source

type SetKeepAliveResponseFut: Future<Output = Result<BaseSocketSetKeepAliveResult, Error>> + Send

source

type GetKeepAliveResponseFut: Future<Output = Result<BaseSocketGetKeepAliveResult, Error>> + Send

source

type SetOutOfBandInlineResponseFut: Future<Output = Result<BaseSocketSetOutOfBandInlineResult, Error>> + Send

source

type GetOutOfBandInlineResponseFut: Future<Output = Result<BaseSocketGetOutOfBandInlineResult, Error>> + Send

source

type SetNoCheckResponseFut: Future<Output = Result<BaseSocketSetNoCheckResult, Error>> + Send

source

type GetNoCheckResponseFut: Future<Output = Result<BaseSocketGetNoCheckResult, Error>> + Send

source

type SetLingerResponseFut: Future<Output = Result<BaseSocketSetLingerResult, Error>> + Send

source

type GetLingerResponseFut: Future<Output = Result<BaseSocketGetLingerResult, Error>> + Send

source

type SetReusePortResponseFut: Future<Output = Result<BaseSocketSetReusePortResult, Error>> + Send

source

type GetReusePortResponseFut: Future<Output = Result<BaseSocketGetReusePortResult, Error>> + Send

source

type GetAcceptConnResponseFut: Future<Output = Result<BaseSocketGetAcceptConnResult, Error>> + Send

source

type SetBindToDeviceResponseFut: Future<Output = Result<BaseSocketSetBindToDeviceResult, Error>> + Send

source

type GetBindToDeviceResponseFut: Future<Output = Result<BaseSocketGetBindToDeviceResult, Error>> + Send

source

type SetBindToInterfaceIndexResponseFut: Future<Output = Result<BaseSocketSetBindToInterfaceIndexResult, Error>> + Send

source

type GetBindToInterfaceIndexResponseFut: Future<Output = Result<BaseSocketGetBindToInterfaceIndexResult, Error>> + Send

source

type SetTimestampResponseFut: Future<Output = Result<BaseSocketSetTimestampResult, Error>> + Send

source

type GetTimestampResponseFut: Future<Output = Result<BaseSocketGetTimestampResult, Error>> + Send

source

type SetMarkResponseFut: Future<Output = Result<BaseSocketSetMarkResult, Error>> + Send

source

type GetMarkResponseFut: Future<Output = Result<BaseSocketGetMarkResult, Error>> + Send

source

type DescribeResponseFut: Future<Output = Result<SocketDescribeResponse, Error>> + Send

source

type BindResponseFut: Future<Output = Result<SocketBindResult, Error>> + Send

source

type GetInfoResponseFut: Future<Output = Result<SocketGetInfoResult, Error>> + Send

source

type RecvMsgResponseFut: Future<Output = Result<SocketRecvMsgResult, Error>> + Send

source

type SendMsgResponseFut: Future<Output = Result<SocketSendMsgResult, Error>> + Send

Required Methods§

source

fn clone2(&self, request: ServerEnd<CloneableMarker>) -> Result<(), Error>

source

fn close(&self) -> Self::CloseResponseFut

source

fn query(&self) -> Self::QueryResponseFut

source

fn set_reuse_address(&self, value: bool) -> Self::SetReuseAddressResponseFut

source

fn get_reuse_address(&self) -> Self::GetReuseAddressResponseFut

source

fn get_error(&self) -> Self::GetErrorResponseFut

source

fn set_broadcast(&self, value: bool) -> Self::SetBroadcastResponseFut

source

fn get_broadcast(&self) -> Self::GetBroadcastResponseFut

source

fn set_send_buffer(&self, value_bytes: u64) -> Self::SetSendBufferResponseFut

source

fn get_send_buffer(&self) -> Self::GetSendBufferResponseFut

source

fn set_receive_buffer( &self, value_bytes: u64 ) -> Self::SetReceiveBufferResponseFut

source

fn get_receive_buffer(&self) -> Self::GetReceiveBufferResponseFut

source

fn set_keep_alive(&self, value: bool) -> Self::SetKeepAliveResponseFut

source

fn get_keep_alive(&self) -> Self::GetKeepAliveResponseFut

source

fn set_out_of_band_inline( &self, value: bool ) -> Self::SetOutOfBandInlineResponseFut

source

fn get_out_of_band_inline(&self) -> Self::GetOutOfBandInlineResponseFut

source

fn set_no_check(&self, value: bool) -> Self::SetNoCheckResponseFut

source

fn get_no_check(&self) -> Self::GetNoCheckResponseFut

source

fn set_linger( &self, linger: bool, length_secs: u32 ) -> Self::SetLingerResponseFut

source

fn get_linger(&self) -> Self::GetLingerResponseFut

source

fn set_reuse_port(&self, value: bool) -> Self::SetReusePortResponseFut

source

fn get_reuse_port(&self) -> Self::GetReusePortResponseFut

source

fn get_accept_conn(&self) -> Self::GetAcceptConnResponseFut

source

fn set_bind_to_device(&self, value: &str) -> Self::SetBindToDeviceResponseFut

source

fn get_bind_to_device(&self) -> Self::GetBindToDeviceResponseFut

source

fn set_bind_to_interface_index( &self, value: u64 ) -> Self::SetBindToInterfaceIndexResponseFut

source

fn get_bind_to_interface_index( &self ) -> Self::GetBindToInterfaceIndexResponseFut

source

fn set_timestamp(&self, value: TimestampOption) -> Self::SetTimestampResponseFut

source

fn get_timestamp(&self) -> Self::GetTimestampResponseFut

source

fn set_mark( &self, domain: MarkDomain, mark: &OptionalUint32 ) -> Self::SetMarkResponseFut

source

fn get_mark(&self, domain: MarkDomain) -> Self::GetMarkResponseFut

source

fn describe(&self) -> Self::DescribeResponseFut

source

fn bind( &self, protocol: Option<&ProtocolAssociation>, bound_interface_id: &BoundInterfaceId ) -> Self::BindResponseFut

source

fn get_info(&self) -> Self::GetInfoResponseFut

source

fn recv_msg( &self, want_packet_info: bool, data_len: u32, want_control: bool, flags: RecvMsgFlags ) -> Self::RecvMsgResponseFut

source

fn send_msg( &self, packet_info: Option<&PacketInfo>, data: &[u8], control: &SendControlData, flags: SendMsgFlags ) -> Self::SendMsgResponseFut

Implementors§

source§

impl SocketProxyInterface for SocketProxy

§

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

§

type QueryResponseFut = QueryResponseFut<Vec<u8>>

§

type SetReuseAddressResponseFut = QueryResponseFut<Result<(), Errno>>

§

type GetReuseAddressResponseFut = QueryResponseFut<Result<bool, Errno>>

§

type GetErrorResponseFut = QueryResponseFut<Result<(), Errno>>

§

type SetBroadcastResponseFut = QueryResponseFut<Result<(), Errno>>

§

type GetBroadcastResponseFut = QueryResponseFut<Result<bool, Errno>>

§

type SetSendBufferResponseFut = QueryResponseFut<Result<(), Errno>>

§

type GetSendBufferResponseFut = QueryResponseFut<Result<u64, Errno>>

§

type SetReceiveBufferResponseFut = QueryResponseFut<Result<(), Errno>>

§

type GetReceiveBufferResponseFut = QueryResponseFut<Result<u64, Errno>>

§

type SetKeepAliveResponseFut = QueryResponseFut<Result<(), Errno>>

§

type GetKeepAliveResponseFut = QueryResponseFut<Result<bool, Errno>>

§

type SetOutOfBandInlineResponseFut = QueryResponseFut<Result<(), Errno>>

§

type GetOutOfBandInlineResponseFut = QueryResponseFut<Result<bool, Errno>>

§

type SetNoCheckResponseFut = QueryResponseFut<Result<(), Errno>>

§

type GetNoCheckResponseFut = QueryResponseFut<Result<bool, Errno>>

§

type SetLingerResponseFut = QueryResponseFut<Result<(), Errno>>

§

type GetLingerResponseFut = QueryResponseFut<Result<(bool, u32), Errno>>

§

type SetReusePortResponseFut = QueryResponseFut<Result<(), Errno>>

§

type GetReusePortResponseFut = QueryResponseFut<Result<bool, Errno>>

§

type GetAcceptConnResponseFut = QueryResponseFut<Result<bool, Errno>>

§

type SetBindToDeviceResponseFut = QueryResponseFut<Result<(), Errno>>

§

type GetBindToDeviceResponseFut = QueryResponseFut<Result<String, Errno>>

§

type SetBindToInterfaceIndexResponseFut = QueryResponseFut<Result<(), Errno>>

§

type GetBindToInterfaceIndexResponseFut = QueryResponseFut<Result<u64, Errno>>

§

type SetTimestampResponseFut = QueryResponseFut<Result<(), Errno>>

§

type GetTimestampResponseFut = QueryResponseFut<Result<TimestampOption, Errno>>

§

type SetMarkResponseFut = QueryResponseFut<Result<(), Errno>>

§

type GetMarkResponseFut = QueryResponseFut<Result<OptionalUint32, Errno>>

§

type DescribeResponseFut = QueryResponseFut<SocketDescribeResponse>

§

type BindResponseFut = QueryResponseFut<Result<(), Errno>>

§

type GetInfoResponseFut = QueryResponseFut<Result<(Kind, Option<Box<ProtocolAssociation>>, BoundInterface), Errno>>

§

type RecvMsgResponseFut = QueryResponseFut<Result<(Option<Box<RecvPacketInfo>>, Vec<u8>, RecvControlData, u32), Errno>>

§

type SendMsgResponseFut = QueryResponseFut<Result<(), Errno>>