fidl_fuchsia_posix_socket

Trait SynchronousDatagramSocketProxyInterface

Source
pub trait SynchronousDatagramSocketProxyInterface: Send + Sync {
Show 167 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 BindResponseFut: Future<Output = Result<BaseNetworkSocketBindResult, Error>> + Send; type ConnectResponseFut: Future<Output = Result<BaseNetworkSocketConnectResult, Error>> + Send; type DisconnectResponseFut: Future<Output = Result<BaseNetworkSocketDisconnectResult, Error>> + Send; type GetSockNameResponseFut: Future<Output = Result<BaseNetworkSocketGetSockNameResult, Error>> + Send; type GetPeerNameResponseFut: Future<Output = Result<BaseNetworkSocketGetPeerNameResult, Error>> + Send; type ShutdownResponseFut: Future<Output = Result<BaseNetworkSocketShutdownResult, Error>> + Send; type SetIpTypeOfServiceResponseFut: Future<Output = Result<BaseNetworkSocketSetIpTypeOfServiceResult, Error>> + Send; type GetIpTypeOfServiceResponseFut: Future<Output = Result<BaseNetworkSocketGetIpTypeOfServiceResult, Error>> + Send; type SetIpTtlResponseFut: Future<Output = Result<BaseNetworkSocketSetIpTtlResult, Error>> + Send; type GetIpTtlResponseFut: Future<Output = Result<BaseNetworkSocketGetIpTtlResult, Error>> + Send; type SetIpPacketInfoResponseFut: Future<Output = Result<BaseNetworkSocketSetIpPacketInfoResult, Error>> + Send; type GetIpPacketInfoResponseFut: Future<Output = Result<BaseNetworkSocketGetIpPacketInfoResult, Error>> + Send; type SetIpReceiveTypeOfServiceResponseFut: Future<Output = Result<BaseNetworkSocketSetIpReceiveTypeOfServiceResult, Error>> + Send; type GetIpReceiveTypeOfServiceResponseFut: Future<Output = Result<BaseNetworkSocketGetIpReceiveTypeOfServiceResult, Error>> + Send; type SetIpReceiveTtlResponseFut: Future<Output = Result<BaseNetworkSocketSetIpReceiveTtlResult, Error>> + Send; type GetIpReceiveTtlResponseFut: Future<Output = Result<BaseNetworkSocketGetIpReceiveTtlResult, Error>> + Send; type SetIpMulticastInterfaceResponseFut: Future<Output = Result<BaseNetworkSocketSetIpMulticastInterfaceResult, Error>> + Send; type GetIpMulticastInterfaceResponseFut: Future<Output = Result<BaseNetworkSocketGetIpMulticastInterfaceResult, Error>> + Send; type SetIpMulticastTtlResponseFut: Future<Output = Result<BaseNetworkSocketSetIpMulticastTtlResult, Error>> + Send; type GetIpMulticastTtlResponseFut: Future<Output = Result<BaseNetworkSocketGetIpMulticastTtlResult, Error>> + Send; type SetIpMulticastLoopbackResponseFut: Future<Output = Result<BaseNetworkSocketSetIpMulticastLoopbackResult, Error>> + Send; type GetIpMulticastLoopbackResponseFut: Future<Output = Result<BaseNetworkSocketGetIpMulticastLoopbackResult, Error>> + Send; type AddIpMembershipResponseFut: Future<Output = Result<BaseNetworkSocketAddIpMembershipResult, Error>> + Send; type DropIpMembershipResponseFut: Future<Output = Result<BaseNetworkSocketDropIpMembershipResult, Error>> + Send; type SetIpTransparentResponseFut: Future<Output = Result<BaseNetworkSocketSetIpTransparentResult, Error>> + Send; type GetIpTransparentResponseFut: Future<Output = Result<BaseNetworkSocketGetIpTransparentResult, Error>> + Send; type SetIpReceiveOriginalDestinationAddressResponseFut: Future<Output = Result<BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult, Error>> + Send; type GetIpReceiveOriginalDestinationAddressResponseFut: Future<Output = Result<BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult, Error>> + Send; type AddIpv6MembershipResponseFut: Future<Output = Result<BaseNetworkSocketAddIpv6MembershipResult, Error>> + Send; type DropIpv6MembershipResponseFut: Future<Output = Result<BaseNetworkSocketDropIpv6MembershipResult, Error>> + Send; type SetIpv6MulticastInterfaceResponseFut: Future<Output = Result<BaseNetworkSocketSetIpv6MulticastInterfaceResult, Error>> + Send; type GetIpv6MulticastInterfaceResponseFut: Future<Output = Result<BaseNetworkSocketGetIpv6MulticastInterfaceResult, Error>> + Send; type SetIpv6UnicastHopsResponseFut: Future<Output = Result<BaseNetworkSocketSetIpv6UnicastHopsResult, Error>> + Send; type GetIpv6UnicastHopsResponseFut: Future<Output = Result<BaseNetworkSocketGetIpv6UnicastHopsResult, Error>> + Send; type SetIpv6ReceiveHopLimitResponseFut: Future<Output = Result<BaseNetworkSocketSetIpv6ReceiveHopLimitResult, Error>> + Send; type GetIpv6ReceiveHopLimitResponseFut: Future<Output = Result<BaseNetworkSocketGetIpv6ReceiveHopLimitResult, Error>> + Send; type SetIpv6MulticastHopsResponseFut: Future<Output = Result<BaseNetworkSocketSetIpv6MulticastHopsResult, Error>> + Send; type GetIpv6MulticastHopsResponseFut: Future<Output = Result<BaseNetworkSocketGetIpv6MulticastHopsResult, Error>> + Send; type SetIpv6MulticastLoopbackResponseFut: Future<Output = Result<BaseNetworkSocketSetIpv6MulticastLoopbackResult, Error>> + Send; type GetIpv6MulticastLoopbackResponseFut: Future<Output = Result<BaseNetworkSocketGetIpv6MulticastLoopbackResult, Error>> + Send; type SetIpv6OnlyResponseFut: Future<Output = Result<BaseNetworkSocketSetIpv6OnlyResult, Error>> + Send; type GetIpv6OnlyResponseFut: Future<Output = Result<BaseNetworkSocketGetIpv6OnlyResult, Error>> + Send; type SetIpv6ReceiveTrafficClassResponseFut: Future<Output = Result<BaseNetworkSocketSetIpv6ReceiveTrafficClassResult, Error>> + Send; type GetIpv6ReceiveTrafficClassResponseFut: Future<Output = Result<BaseNetworkSocketGetIpv6ReceiveTrafficClassResult, Error>> + Send; type SetIpv6TrafficClassResponseFut: Future<Output = Result<BaseNetworkSocketSetIpv6TrafficClassResult, Error>> + Send; type GetIpv6TrafficClassResponseFut: Future<Output = Result<BaseNetworkSocketGetIpv6TrafficClassResult, Error>> + Send; type SetIpv6ReceivePacketInfoResponseFut: Future<Output = Result<BaseNetworkSocketSetIpv6ReceivePacketInfoResult, Error>> + Send; type GetIpv6ReceivePacketInfoResponseFut: Future<Output = Result<BaseNetworkSocketGetIpv6ReceivePacketInfoResult, Error>> + Send; type GetOriginalDestinationResponseFut: Future<Output = Result<BaseNetworkSocketGetOriginalDestinationResult, Error>> + Send; type GetInfoResponseFut: Future<Output = Result<BaseDatagramSocketGetInfoResult, Error>> + Send; type DescribeResponseFut: Future<Output = Result<SynchronousDatagramSocketDescribeResponse, Error>> + Send; type RecvMsgResponseFut: Future<Output = Result<SynchronousDatagramSocketRecvMsgResult, Error>> + Send; type SendMsgResponseFut: Future<Output = Result<SynchronousDatagramSocketSendMsgResult, 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 bind(&self, addr: &SocketAddress) -> Self::BindResponseFut; fn connect(&self, addr: &SocketAddress) -> Self::ConnectResponseFut; fn disconnect(&self) -> Self::DisconnectResponseFut; fn get_sock_name(&self) -> Self::GetSockNameResponseFut; fn get_peer_name(&self) -> Self::GetPeerNameResponseFut; fn shutdown(&self, mode: ShutdownMode) -> Self::ShutdownResponseFut; fn set_ip_type_of_service( &self, value: u8, ) -> Self::SetIpTypeOfServiceResponseFut; fn get_ip_type_of_service(&self) -> Self::GetIpTypeOfServiceResponseFut; fn set_ip_ttl(&self, value: &OptionalUint8) -> Self::SetIpTtlResponseFut; fn get_ip_ttl(&self) -> Self::GetIpTtlResponseFut; fn set_ip_packet_info( &self, value: bool, ) -> Self::SetIpPacketInfoResponseFut; fn get_ip_packet_info(&self) -> Self::GetIpPacketInfoResponseFut; fn set_ip_receive_type_of_service( &self, value: bool, ) -> Self::SetIpReceiveTypeOfServiceResponseFut; fn get_ip_receive_type_of_service( &self, ) -> Self::GetIpReceiveTypeOfServiceResponseFut; fn set_ip_receive_ttl( &self, value: bool, ) -> Self::SetIpReceiveTtlResponseFut; fn get_ip_receive_ttl(&self) -> Self::GetIpReceiveTtlResponseFut; fn set_ip_multicast_interface( &self, iface: u64, address: &Ipv4Address, ) -> Self::SetIpMulticastInterfaceResponseFut; fn get_ip_multicast_interface( &self, ) -> Self::GetIpMulticastInterfaceResponseFut; fn set_ip_multicast_ttl( &self, value: &OptionalUint8, ) -> Self::SetIpMulticastTtlResponseFut; fn get_ip_multicast_ttl(&self) -> Self::GetIpMulticastTtlResponseFut; fn set_ip_multicast_loopback( &self, value: bool, ) -> Self::SetIpMulticastLoopbackResponseFut; fn get_ip_multicast_loopback( &self, ) -> Self::GetIpMulticastLoopbackResponseFut; fn add_ip_membership( &self, membership: &IpMulticastMembership, ) -> Self::AddIpMembershipResponseFut; fn drop_ip_membership( &self, membership: &IpMulticastMembership, ) -> Self::DropIpMembershipResponseFut; fn set_ip_transparent( &self, value: bool, ) -> Self::SetIpTransparentResponseFut; fn get_ip_transparent(&self) -> Self::GetIpTransparentResponseFut; fn set_ip_receive_original_destination_address( &self, value: bool, ) -> Self::SetIpReceiveOriginalDestinationAddressResponseFut; fn get_ip_receive_original_destination_address( &self, ) -> Self::GetIpReceiveOriginalDestinationAddressResponseFut; fn add_ipv6_membership( &self, membership: &Ipv6MulticastMembership, ) -> Self::AddIpv6MembershipResponseFut; fn drop_ipv6_membership( &self, membership: &Ipv6MulticastMembership, ) -> Self::DropIpv6MembershipResponseFut; fn set_ipv6_multicast_interface( &self, value: u64, ) -> Self::SetIpv6MulticastInterfaceResponseFut; fn get_ipv6_multicast_interface( &self, ) -> Self::GetIpv6MulticastInterfaceResponseFut; fn set_ipv6_unicast_hops( &self, value: &OptionalUint8, ) -> Self::SetIpv6UnicastHopsResponseFut; fn get_ipv6_unicast_hops(&self) -> Self::GetIpv6UnicastHopsResponseFut; fn set_ipv6_receive_hop_limit( &self, value: bool, ) -> Self::SetIpv6ReceiveHopLimitResponseFut; fn get_ipv6_receive_hop_limit( &self, ) -> Self::GetIpv6ReceiveHopLimitResponseFut; fn set_ipv6_multicast_hops( &self, value: &OptionalUint8, ) -> Self::SetIpv6MulticastHopsResponseFut; fn get_ipv6_multicast_hops(&self) -> Self::GetIpv6MulticastHopsResponseFut; fn set_ipv6_multicast_loopback( &self, value: bool, ) -> Self::SetIpv6MulticastLoopbackResponseFut; fn get_ipv6_multicast_loopback( &self, ) -> Self::GetIpv6MulticastLoopbackResponseFut; fn set_ipv6_only(&self, value: bool) -> Self::SetIpv6OnlyResponseFut; fn get_ipv6_only(&self) -> Self::GetIpv6OnlyResponseFut; fn set_ipv6_receive_traffic_class( &self, value: bool, ) -> Self::SetIpv6ReceiveTrafficClassResponseFut; fn get_ipv6_receive_traffic_class( &self, ) -> Self::GetIpv6ReceiveTrafficClassResponseFut; fn set_ipv6_traffic_class( &self, value: &OptionalUint8, ) -> Self::SetIpv6TrafficClassResponseFut; fn get_ipv6_traffic_class(&self) -> Self::GetIpv6TrafficClassResponseFut; fn set_ipv6_receive_packet_info( &self, value: bool, ) -> Self::SetIpv6ReceivePacketInfoResponseFut; fn get_ipv6_receive_packet_info( &self, ) -> Self::GetIpv6ReceivePacketInfoResponseFut; fn get_original_destination( &self, ) -> Self::GetOriginalDestinationResponseFut; fn get_info(&self) -> Self::GetInfoResponseFut; fn describe(&self) -> Self::DescribeResponseFut; fn recv_msg( &self, want_addr: bool, data_len: u32, want_control: bool, flags: RecvMsgFlags, ) -> Self::RecvMsgResponseFut; fn send_msg( &self, addr: Option<&SocketAddress>, data: &[u8], control: &DatagramSocketSendControlData, 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 BindResponseFut: Future<Output = Result<BaseNetworkSocketBindResult, Error>> + Send

Source

type ConnectResponseFut: Future<Output = Result<BaseNetworkSocketConnectResult, Error>> + Send

Source

type DisconnectResponseFut: Future<Output = Result<BaseNetworkSocketDisconnectResult, Error>> + Send

Source

type GetSockNameResponseFut: Future<Output = Result<BaseNetworkSocketGetSockNameResult, Error>> + Send

Source

type GetPeerNameResponseFut: Future<Output = Result<BaseNetworkSocketGetPeerNameResult, Error>> + Send

Source

type ShutdownResponseFut: Future<Output = Result<BaseNetworkSocketShutdownResult, Error>> + Send

Source

type SetIpTypeOfServiceResponseFut: Future<Output = Result<BaseNetworkSocketSetIpTypeOfServiceResult, Error>> + Send

Source

type GetIpTypeOfServiceResponseFut: Future<Output = Result<BaseNetworkSocketGetIpTypeOfServiceResult, Error>> + Send

Source

type SetIpTtlResponseFut: Future<Output = Result<BaseNetworkSocketSetIpTtlResult, Error>> + Send

Source

type GetIpTtlResponseFut: Future<Output = Result<BaseNetworkSocketGetIpTtlResult, Error>> + Send

Source

type SetIpPacketInfoResponseFut: Future<Output = Result<BaseNetworkSocketSetIpPacketInfoResult, Error>> + Send

Source

type GetIpPacketInfoResponseFut: Future<Output = Result<BaseNetworkSocketGetIpPacketInfoResult, Error>> + Send

Source

type SetIpReceiveTypeOfServiceResponseFut: Future<Output = Result<BaseNetworkSocketSetIpReceiveTypeOfServiceResult, Error>> + Send

Source

type GetIpReceiveTypeOfServiceResponseFut: Future<Output = Result<BaseNetworkSocketGetIpReceiveTypeOfServiceResult, Error>> + Send

Source

type SetIpReceiveTtlResponseFut: Future<Output = Result<BaseNetworkSocketSetIpReceiveTtlResult, Error>> + Send

Source

type GetIpReceiveTtlResponseFut: Future<Output = Result<BaseNetworkSocketGetIpReceiveTtlResult, Error>> + Send

Source

type SetIpMulticastInterfaceResponseFut: Future<Output = Result<BaseNetworkSocketSetIpMulticastInterfaceResult, Error>> + Send

Source

type GetIpMulticastInterfaceResponseFut: Future<Output = Result<BaseNetworkSocketGetIpMulticastInterfaceResult, Error>> + Send

Source

type SetIpMulticastTtlResponseFut: Future<Output = Result<BaseNetworkSocketSetIpMulticastTtlResult, Error>> + Send

Source

type GetIpMulticastTtlResponseFut: Future<Output = Result<BaseNetworkSocketGetIpMulticastTtlResult, Error>> + Send

Source

type SetIpMulticastLoopbackResponseFut: Future<Output = Result<BaseNetworkSocketSetIpMulticastLoopbackResult, Error>> + Send

Source

type GetIpMulticastLoopbackResponseFut: Future<Output = Result<BaseNetworkSocketGetIpMulticastLoopbackResult, Error>> + Send

Source

type AddIpMembershipResponseFut: Future<Output = Result<BaseNetworkSocketAddIpMembershipResult, Error>> + Send

Source

type DropIpMembershipResponseFut: Future<Output = Result<BaseNetworkSocketDropIpMembershipResult, Error>> + Send

Source

type SetIpTransparentResponseFut: Future<Output = Result<BaseNetworkSocketSetIpTransparentResult, Error>> + Send

Source

type GetIpTransparentResponseFut: Future<Output = Result<BaseNetworkSocketGetIpTransparentResult, Error>> + Send

Source

type SetIpReceiveOriginalDestinationAddressResponseFut: Future<Output = Result<BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult, Error>> + Send

Source

type GetIpReceiveOriginalDestinationAddressResponseFut: Future<Output = Result<BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult, Error>> + Send

Source

type AddIpv6MembershipResponseFut: Future<Output = Result<BaseNetworkSocketAddIpv6MembershipResult, Error>> + Send

Source

type DropIpv6MembershipResponseFut: Future<Output = Result<BaseNetworkSocketDropIpv6MembershipResult, Error>> + Send

Source

type SetIpv6MulticastInterfaceResponseFut: Future<Output = Result<BaseNetworkSocketSetIpv6MulticastInterfaceResult, Error>> + Send

Source

type GetIpv6MulticastInterfaceResponseFut: Future<Output = Result<BaseNetworkSocketGetIpv6MulticastInterfaceResult, Error>> + Send

Source

type SetIpv6UnicastHopsResponseFut: Future<Output = Result<BaseNetworkSocketSetIpv6UnicastHopsResult, Error>> + Send

Source

type GetIpv6UnicastHopsResponseFut: Future<Output = Result<BaseNetworkSocketGetIpv6UnicastHopsResult, Error>> + Send

Source

type SetIpv6ReceiveHopLimitResponseFut: Future<Output = Result<BaseNetworkSocketSetIpv6ReceiveHopLimitResult, Error>> + Send

Source

type GetIpv6ReceiveHopLimitResponseFut: Future<Output = Result<BaseNetworkSocketGetIpv6ReceiveHopLimitResult, Error>> + Send

Source

type SetIpv6MulticastHopsResponseFut: Future<Output = Result<BaseNetworkSocketSetIpv6MulticastHopsResult, Error>> + Send

Source

type GetIpv6MulticastHopsResponseFut: Future<Output = Result<BaseNetworkSocketGetIpv6MulticastHopsResult, Error>> + Send

Source

type SetIpv6MulticastLoopbackResponseFut: Future<Output = Result<BaseNetworkSocketSetIpv6MulticastLoopbackResult, Error>> + Send

Source

type GetIpv6MulticastLoopbackResponseFut: Future<Output = Result<BaseNetworkSocketGetIpv6MulticastLoopbackResult, Error>> + Send

Source

type SetIpv6OnlyResponseFut: Future<Output = Result<BaseNetworkSocketSetIpv6OnlyResult, Error>> + Send

Source

type GetIpv6OnlyResponseFut: Future<Output = Result<BaseNetworkSocketGetIpv6OnlyResult, Error>> + Send

Source

type SetIpv6ReceiveTrafficClassResponseFut: Future<Output = Result<BaseNetworkSocketSetIpv6ReceiveTrafficClassResult, Error>> + Send

Source

type GetIpv6ReceiveTrafficClassResponseFut: Future<Output = Result<BaseNetworkSocketGetIpv6ReceiveTrafficClassResult, Error>> + Send

Source

type SetIpv6TrafficClassResponseFut: Future<Output = Result<BaseNetworkSocketSetIpv6TrafficClassResult, Error>> + Send

Source

type GetIpv6TrafficClassResponseFut: Future<Output = Result<BaseNetworkSocketGetIpv6TrafficClassResult, Error>> + Send

Source

type SetIpv6ReceivePacketInfoResponseFut: Future<Output = Result<BaseNetworkSocketSetIpv6ReceivePacketInfoResult, Error>> + Send

Source

type GetIpv6ReceivePacketInfoResponseFut: Future<Output = Result<BaseNetworkSocketGetIpv6ReceivePacketInfoResult, Error>> + Send

Source

type GetOriginalDestinationResponseFut: Future<Output = Result<BaseNetworkSocketGetOriginalDestinationResult, Error>> + Send

Source

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

Source

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

Source

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

Source

type SendMsgResponseFut: Future<Output = Result<SynchronousDatagramSocketSendMsgResult, 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 bind(&self, addr: &SocketAddress) -> Self::BindResponseFut

Source

fn connect(&self, addr: &SocketAddress) -> Self::ConnectResponseFut

Source

fn disconnect(&self) -> Self::DisconnectResponseFut

Source

fn get_sock_name(&self) -> Self::GetSockNameResponseFut

Source

fn get_peer_name(&self) -> Self::GetPeerNameResponseFut

Source

fn shutdown(&self, mode: ShutdownMode) -> Self::ShutdownResponseFut

Source

fn set_ip_type_of_service( &self, value: u8, ) -> Self::SetIpTypeOfServiceResponseFut

Source

fn get_ip_type_of_service(&self) -> Self::GetIpTypeOfServiceResponseFut

Source

fn set_ip_ttl(&self, value: &OptionalUint8) -> Self::SetIpTtlResponseFut

Source

fn get_ip_ttl(&self) -> Self::GetIpTtlResponseFut

Source

fn set_ip_packet_info(&self, value: bool) -> Self::SetIpPacketInfoResponseFut

Source

fn get_ip_packet_info(&self) -> Self::GetIpPacketInfoResponseFut

Source

fn set_ip_receive_type_of_service( &self, value: bool, ) -> Self::SetIpReceiveTypeOfServiceResponseFut

Source

fn get_ip_receive_type_of_service( &self, ) -> Self::GetIpReceiveTypeOfServiceResponseFut

Source

fn set_ip_receive_ttl(&self, value: bool) -> Self::SetIpReceiveTtlResponseFut

Source

fn get_ip_receive_ttl(&self) -> Self::GetIpReceiveTtlResponseFut

Source

fn set_ip_multicast_interface( &self, iface: u64, address: &Ipv4Address, ) -> Self::SetIpMulticastInterfaceResponseFut

Source

fn get_ip_multicast_interface(&self) -> Self::GetIpMulticastInterfaceResponseFut

Source

fn set_ip_multicast_ttl( &self, value: &OptionalUint8, ) -> Self::SetIpMulticastTtlResponseFut

Source

fn get_ip_multicast_ttl(&self) -> Self::GetIpMulticastTtlResponseFut

Source

fn set_ip_multicast_loopback( &self, value: bool, ) -> Self::SetIpMulticastLoopbackResponseFut

Source

fn get_ip_multicast_loopback(&self) -> Self::GetIpMulticastLoopbackResponseFut

Source

fn add_ip_membership( &self, membership: &IpMulticastMembership, ) -> Self::AddIpMembershipResponseFut

Source

fn drop_ip_membership( &self, membership: &IpMulticastMembership, ) -> Self::DropIpMembershipResponseFut

Source

fn set_ip_transparent(&self, value: bool) -> Self::SetIpTransparentResponseFut

Source

fn get_ip_transparent(&self) -> Self::GetIpTransparentResponseFut

Source

fn set_ip_receive_original_destination_address( &self, value: bool, ) -> Self::SetIpReceiveOriginalDestinationAddressResponseFut

Source

fn get_ip_receive_original_destination_address( &self, ) -> Self::GetIpReceiveOriginalDestinationAddressResponseFut

Source

fn add_ipv6_membership( &self, membership: &Ipv6MulticastMembership, ) -> Self::AddIpv6MembershipResponseFut

Source

fn drop_ipv6_membership( &self, membership: &Ipv6MulticastMembership, ) -> Self::DropIpv6MembershipResponseFut

Source

fn set_ipv6_multicast_interface( &self, value: u64, ) -> Self::SetIpv6MulticastInterfaceResponseFut

Source

fn get_ipv6_multicast_interface( &self, ) -> Self::GetIpv6MulticastInterfaceResponseFut

Source

fn set_ipv6_unicast_hops( &self, value: &OptionalUint8, ) -> Self::SetIpv6UnicastHopsResponseFut

Source

fn get_ipv6_unicast_hops(&self) -> Self::GetIpv6UnicastHopsResponseFut

Source

fn set_ipv6_receive_hop_limit( &self, value: bool, ) -> Self::SetIpv6ReceiveHopLimitResponseFut

Source

fn get_ipv6_receive_hop_limit(&self) -> Self::GetIpv6ReceiveHopLimitResponseFut

Source

fn set_ipv6_multicast_hops( &self, value: &OptionalUint8, ) -> Self::SetIpv6MulticastHopsResponseFut

Source

fn get_ipv6_multicast_hops(&self) -> Self::GetIpv6MulticastHopsResponseFut

Source

fn set_ipv6_multicast_loopback( &self, value: bool, ) -> Self::SetIpv6MulticastLoopbackResponseFut

Source

fn get_ipv6_multicast_loopback( &self, ) -> Self::GetIpv6MulticastLoopbackResponseFut

Source

fn set_ipv6_only(&self, value: bool) -> Self::SetIpv6OnlyResponseFut

Source

fn get_ipv6_only(&self) -> Self::GetIpv6OnlyResponseFut

Source

fn set_ipv6_receive_traffic_class( &self, value: bool, ) -> Self::SetIpv6ReceiveTrafficClassResponseFut

Source

fn get_ipv6_receive_traffic_class( &self, ) -> Self::GetIpv6ReceiveTrafficClassResponseFut

Source

fn set_ipv6_traffic_class( &self, value: &OptionalUint8, ) -> Self::SetIpv6TrafficClassResponseFut

Source

fn get_ipv6_traffic_class(&self) -> Self::GetIpv6TrafficClassResponseFut

Source

fn set_ipv6_receive_packet_info( &self, value: bool, ) -> Self::SetIpv6ReceivePacketInfoResponseFut

Source

fn get_ipv6_receive_packet_info( &self, ) -> Self::GetIpv6ReceivePacketInfoResponseFut

Source

fn get_original_destination(&self) -> Self::GetOriginalDestinationResponseFut

Source

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

Source

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

Source

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

Source

fn send_msg( &self, addr: Option<&SocketAddress>, data: &[u8], control: &DatagramSocketSendControlData, flags: SendMsgFlags, ) -> Self::SendMsgResponseFut

Implementors§

Source§

impl SynchronousDatagramSocketProxyInterface for SynchronousDatagramSocketProxy

Source§

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

Source§

type QueryResponseFut = QueryResponseFut<Vec<u8>>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type GetSockNameResponseFut = QueryResponseFut<Result<SocketAddress, Errno>>

Source§

type GetPeerNameResponseFut = QueryResponseFut<Result<SocketAddress, Errno>>

Source§

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

Source§

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

Source§

type GetIpTypeOfServiceResponseFut = QueryResponseFut<Result<u8, Errno>>

Source§

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

Source§

type GetIpTtlResponseFut = QueryResponseFut<Result<u8, Errno>>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type GetIpMulticastInterfaceResponseFut = QueryResponseFut<Result<Ipv4Address, Errno>>

Source§

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

Source§

type GetIpMulticastTtlResponseFut = QueryResponseFut<Result<u8, Errno>>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type GetIpv6UnicastHopsResponseFut = QueryResponseFut<Result<u8, Errno>>

Source§

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

Source§

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

Source§

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

Source§

type GetIpv6MulticastHopsResponseFut = QueryResponseFut<Result<u8, Errno>>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type GetIpv6TrafficClassResponseFut = QueryResponseFut<Result<u8, Errno>>

Source§

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

Source§

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

Source§

type GetOriginalDestinationResponseFut = QueryResponseFut<Result<SocketAddress, Errno>>

Source§

type GetInfoResponseFut = QueryResponseFut<Result<(Domain, DatagramSocketProtocol), Errno>>

Source§

type DescribeResponseFut = QueryResponseFut<SynchronousDatagramSocketDescribeResponse>

Source§

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

Source§

type SendMsgResponseFut = QueryResponseFut<Result<i64, Errno>>