fidl_fuchsia_posix_socketTrait DatagramSocketProxyInterface
Source pub trait DatagramSocketProxyInterface: 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<DatagramSocketDescribeResponse, Error>> + Send;
type SendMsgPreflightResponseFut: Future<Output = Result<DatagramSocketSendMsgPreflightResult, Error>> + Send;
type RecvMsgPostflightResponseFut: Future<Output = Result<DatagramSocketRecvMsgPostflightResult, 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 send_msg_preflight(
&self,
payload: &DatagramSocketSendMsgPreflightRequest,
) -> Self::SendMsgPreflightResponseFut;
fn recv_msg_postflight(&self) -> Self::RecvMsgPostflightResponseFut;
}