pub struct DatagramSocketProxy { /* private fields */ }
Implementations§
Source§impl DatagramSocketProxy
impl DatagramSocketProxy
Sourcepub fn new(channel: AsyncChannel) -> Self
pub fn new(channel: AsyncChannel) -> Self
Create a new Proxy for fuchsia.posix.socket/DatagramSocket.
Sourcepub fn take_event_stream(&self) -> DatagramSocketEventStream
pub fn take_event_stream(&self) -> DatagramSocketEventStream
Get a Stream of events from the remote end of the protocol.
§Panics
Panics if the event stream was already taken.
pub fn clone2(&self, request: ServerEnd<CloneableMarker>) -> Result<(), Error>
Sourcepub fn close(
&self,
) -> QueryResponseFut<CloseableCloseResult, DefaultFuchsiaResourceDialect>
pub fn close( &self, ) -> QueryResponseFut<CloseableCloseResult, DefaultFuchsiaResourceDialect>
Terminates the connection.
After calling Close
, the client must not send any other requests.
Servers, after sending the status response, should close the connection regardless of status and without sending an epitaph.
Closing the client end of the channel should be semantically equivalent
to calling Close
without knowing when the close has completed or its
status.
pub fn query(&self) -> QueryResponseFut<Vec<u8>, DefaultFuchsiaResourceDialect>
Sourcepub fn set_reuse_address(
&self,
value: bool,
) -> QueryResponseFut<BaseSocketSetReuseAddressResult, DefaultFuchsiaResourceDialect>
pub fn set_reuse_address( &self, value: bool, ) -> QueryResponseFut<BaseSocketSetReuseAddressResult, DefaultFuchsiaResourceDialect>
Set SOL_SOCKET
-> SO_REUSEADDR
.
Sourcepub fn get_reuse_address(
&self,
) -> QueryResponseFut<BaseSocketGetReuseAddressResult, DefaultFuchsiaResourceDialect>
pub fn get_reuse_address( &self, ) -> QueryResponseFut<BaseSocketGetReuseAddressResult, DefaultFuchsiaResourceDialect>
Get SOL_SOCKET
-> SO_REUSEADDR
.
Sourcepub fn get_error(
&self,
) -> QueryResponseFut<BaseSocketGetErrorResult, DefaultFuchsiaResourceDialect>
pub fn get_error( &self, ) -> QueryResponseFut<BaseSocketGetErrorResult, DefaultFuchsiaResourceDialect>
Get SOL_SOCKET
-> SO_ERROR
.
Returns the last error if there is an error set on the socket.
Sourcepub fn set_broadcast(
&self,
value: bool,
) -> QueryResponseFut<BaseSocketSetBroadcastResult, DefaultFuchsiaResourceDialect>
pub fn set_broadcast( &self, value: bool, ) -> QueryResponseFut<BaseSocketSetBroadcastResult, DefaultFuchsiaResourceDialect>
Set SOL_SOCKET
-> SO_BROADCAST
.
Sourcepub fn get_broadcast(
&self,
) -> QueryResponseFut<BaseSocketGetBroadcastResult, DefaultFuchsiaResourceDialect>
pub fn get_broadcast( &self, ) -> QueryResponseFut<BaseSocketGetBroadcastResult, DefaultFuchsiaResourceDialect>
Get SOL_SOCKET
-> SO_BROADCAST
.
Sourcepub fn set_send_buffer(
&self,
value_bytes: u64,
) -> QueryResponseFut<BaseSocketSetSendBufferResult, DefaultFuchsiaResourceDialect>
pub fn set_send_buffer( &self, value_bytes: u64, ) -> QueryResponseFut<BaseSocketSetSendBufferResult, DefaultFuchsiaResourceDialect>
Set SOL_SOCKET
-> SO_SNDBUF
.
Sourcepub fn get_send_buffer(
&self,
) -> QueryResponseFut<BaseSocketGetSendBufferResult, DefaultFuchsiaResourceDialect>
pub fn get_send_buffer( &self, ) -> QueryResponseFut<BaseSocketGetSendBufferResult, DefaultFuchsiaResourceDialect>
Get SOL_SOCKET
-> SO_SNDBUF
.
Sourcepub fn set_receive_buffer(
&self,
value_bytes: u64,
) -> QueryResponseFut<BaseSocketSetReceiveBufferResult, DefaultFuchsiaResourceDialect>
pub fn set_receive_buffer( &self, value_bytes: u64, ) -> QueryResponseFut<BaseSocketSetReceiveBufferResult, DefaultFuchsiaResourceDialect>
Set SOL_SOCKET
-> SO_RCVBUF
.
Sourcepub fn get_receive_buffer(
&self,
) -> QueryResponseFut<BaseSocketGetReceiveBufferResult, DefaultFuchsiaResourceDialect>
pub fn get_receive_buffer( &self, ) -> QueryResponseFut<BaseSocketGetReceiveBufferResult, DefaultFuchsiaResourceDialect>
Get SOL_SOCKET
-> SO_RCVBUF
.
Sourcepub fn set_keep_alive(
&self,
value: bool,
) -> QueryResponseFut<BaseSocketSetKeepAliveResult, DefaultFuchsiaResourceDialect>
pub fn set_keep_alive( &self, value: bool, ) -> QueryResponseFut<BaseSocketSetKeepAliveResult, DefaultFuchsiaResourceDialect>
Set SOL_SOCKET
-> SO_KEEPALIVE
.
Sourcepub fn get_keep_alive(
&self,
) -> QueryResponseFut<BaseSocketGetKeepAliveResult, DefaultFuchsiaResourceDialect>
pub fn get_keep_alive( &self, ) -> QueryResponseFut<BaseSocketGetKeepAliveResult, DefaultFuchsiaResourceDialect>
Get SOL_SOCKET
-> SO_KEEPALIVE
.
Sourcepub fn set_out_of_band_inline(
&self,
value: bool,
) -> QueryResponseFut<BaseSocketSetOutOfBandInlineResult, DefaultFuchsiaResourceDialect>
pub fn set_out_of_band_inline( &self, value: bool, ) -> QueryResponseFut<BaseSocketSetOutOfBandInlineResult, DefaultFuchsiaResourceDialect>
Set SOL_SOCKET
-> SO_OOBINLINE
.
Sourcepub fn get_out_of_band_inline(
&self,
) -> QueryResponseFut<BaseSocketGetOutOfBandInlineResult, DefaultFuchsiaResourceDialect>
pub fn get_out_of_band_inline( &self, ) -> QueryResponseFut<BaseSocketGetOutOfBandInlineResult, DefaultFuchsiaResourceDialect>
Get SOL_SOCKET
-> SO_OOBINLINE
.
Sourcepub fn set_no_check(
&self,
value: bool,
) -> QueryResponseFut<BaseSocketSetNoCheckResult, DefaultFuchsiaResourceDialect>
pub fn set_no_check( &self, value: bool, ) -> QueryResponseFut<BaseSocketSetNoCheckResult, DefaultFuchsiaResourceDialect>
Set SOL_SOCKET
-> SO_NO_CHECK
.
Sourcepub fn get_no_check(
&self,
) -> QueryResponseFut<BaseSocketGetNoCheckResult, DefaultFuchsiaResourceDialect>
pub fn get_no_check( &self, ) -> QueryResponseFut<BaseSocketGetNoCheckResult, DefaultFuchsiaResourceDialect>
Get SOL_SOCKET
-> SO_NO_CHECK
.
Sourcepub fn set_linger(
&self,
linger: bool,
length_secs: u32,
) -> QueryResponseFut<BaseSocketSetLingerResult, DefaultFuchsiaResourceDialect>
pub fn set_linger( &self, linger: bool, length_secs: u32, ) -> QueryResponseFut<BaseSocketSetLingerResult, DefaultFuchsiaResourceDialect>
Set SOL_SOCKET
-> SO_LINGER
.
Sourcepub fn get_linger(
&self,
) -> QueryResponseFut<BaseSocketGetLingerResult, DefaultFuchsiaResourceDialect>
pub fn get_linger( &self, ) -> QueryResponseFut<BaseSocketGetLingerResult, DefaultFuchsiaResourceDialect>
Get SOL_SOCKET
-> SO_LINGER
.
Sourcepub fn set_reuse_port(
&self,
value: bool,
) -> QueryResponseFut<BaseSocketSetReusePortResult, DefaultFuchsiaResourceDialect>
pub fn set_reuse_port( &self, value: bool, ) -> QueryResponseFut<BaseSocketSetReusePortResult, DefaultFuchsiaResourceDialect>
Set SOL_SOCKET
-> SO_REUSEPORT
.
Sourcepub fn get_reuse_port(
&self,
) -> QueryResponseFut<BaseSocketGetReusePortResult, DefaultFuchsiaResourceDialect>
pub fn get_reuse_port( &self, ) -> QueryResponseFut<BaseSocketGetReusePortResult, DefaultFuchsiaResourceDialect>
Get SOL_SOCKET
-> SO_REUSEPORT
.
Sourcepub fn get_accept_conn(
&self,
) -> QueryResponseFut<BaseSocketGetAcceptConnResult, DefaultFuchsiaResourceDialect>
pub fn get_accept_conn( &self, ) -> QueryResponseFut<BaseSocketGetAcceptConnResult, DefaultFuchsiaResourceDialect>
Get SOL_SOCKET
-> SO_ACCEPTCONN
.
Sourcepub fn set_bind_to_device(
&self,
value: &str,
) -> QueryResponseFut<BaseSocketSetBindToDeviceResult, DefaultFuchsiaResourceDialect>
pub fn set_bind_to_device( &self, value: &str, ) -> QueryResponseFut<BaseSocketSetBindToDeviceResult, DefaultFuchsiaResourceDialect>
Set SOL_SOCKET
-> SO_BINDTODEVICE
.
Sourcepub fn get_bind_to_device(
&self,
) -> QueryResponseFut<BaseSocketGetBindToDeviceResult, DefaultFuchsiaResourceDialect>
pub fn get_bind_to_device( &self, ) -> QueryResponseFut<BaseSocketGetBindToDeviceResult, DefaultFuchsiaResourceDialect>
Get SOL_SOCKET
-> SO_BINDTODEVICE
.
Sourcepub fn set_bind_to_interface_index(
&self,
value: u64,
) -> QueryResponseFut<BaseSocketSetBindToInterfaceIndexResult, DefaultFuchsiaResourceDialect>
pub fn set_bind_to_interface_index( &self, value: u64, ) -> QueryResponseFut<BaseSocketSetBindToInterfaceIndexResult, DefaultFuchsiaResourceDialect>
Set SOL_SOCKET
-> SO_BINDTOIFINDEX
.
If value
is 0, this clears the bound interface.
Sourcepub fn get_bind_to_interface_index(
&self,
) -> QueryResponseFut<BaseSocketGetBindToInterfaceIndexResult, DefaultFuchsiaResourceDialect>
pub fn get_bind_to_interface_index( &self, ) -> QueryResponseFut<BaseSocketGetBindToInterfaceIndexResult, DefaultFuchsiaResourceDialect>
Get SOL_SOCKET
-> SO_BINDTOIFINDEX
.
Sourcepub fn set_timestamp(
&self,
value: TimestampOption,
) -> QueryResponseFut<BaseSocketSetTimestampResult, DefaultFuchsiaResourceDialect>
pub fn set_timestamp( &self, value: TimestampOption, ) -> QueryResponseFut<BaseSocketSetTimestampResult, DefaultFuchsiaResourceDialect>
Set SOL_SOCKET
-> SO_TIMESTAMP
or SO_TIMESTAMPNS
.
Sourcepub fn get_timestamp(
&self,
) -> QueryResponseFut<BaseSocketGetTimestampResult, DefaultFuchsiaResourceDialect>
pub fn get_timestamp( &self, ) -> QueryResponseFut<BaseSocketGetTimestampResult, DefaultFuchsiaResourceDialect>
Get SOL_SOCKET
-> SO_TIMESTAMP
or SO_TIMESTAMPNS
.
Sourcepub fn set_mark(
&self,
domain: MarkDomain,
mark: &OptionalUint32,
) -> QueryResponseFut<BaseSocketSetMarkResult, DefaultFuchsiaResourceDialect>
pub fn set_mark( &self, domain: MarkDomain, mark: &OptionalUint32, ) -> QueryResponseFut<BaseSocketSetMarkResult, DefaultFuchsiaResourceDialect>
Like setting SOL_SOCKET
-> SO_MARK
. The major difference is that
unlike the standard SO_MARK, this API has multiple mark domains and each
mark can be set independently in each domain.
Sourcepub fn get_mark(
&self,
domain: MarkDomain,
) -> QueryResponseFut<BaseSocketGetMarkResult, DefaultFuchsiaResourceDialect>
pub fn get_mark( &self, domain: MarkDomain, ) -> QueryResponseFut<BaseSocketGetMarkResult, DefaultFuchsiaResourceDialect>
Like getting SOL_SOCKET
-> SO_MARK
. The major difference is that
unlike the standard SO_MARK, this API has multiple mark domains and each
mark can be retrieved independently in each domain.
Sourcepub fn bind(
&self,
addr: &SocketAddress,
) -> QueryResponseFut<BaseNetworkSocketBindResult, DefaultFuchsiaResourceDialect>
pub fn bind( &self, addr: &SocketAddress, ) -> QueryResponseFut<BaseNetworkSocketBindResult, DefaultFuchsiaResourceDialect>
Sets the local address used for the socket.
Sourcepub fn connect(
&self,
addr: &SocketAddress,
) -> QueryResponseFut<BaseNetworkSocketConnectResult, DefaultFuchsiaResourceDialect>
pub fn connect( &self, addr: &SocketAddress, ) -> QueryResponseFut<BaseNetworkSocketConnectResult, DefaultFuchsiaResourceDialect>
Initiates a connection to a remote address.
Sourcepub fn disconnect(
&self,
) -> QueryResponseFut<BaseNetworkSocketDisconnectResult, DefaultFuchsiaResourceDialect>
pub fn disconnect( &self, ) -> QueryResponseFut<BaseNetworkSocketDisconnectResult, DefaultFuchsiaResourceDialect>
Clears connection information from this socket.
Sourcepub fn get_sock_name(
&self,
) -> QueryResponseFut<BaseNetworkSocketGetSockNameResult, DefaultFuchsiaResourceDialect>
pub fn get_sock_name( &self, ) -> QueryResponseFut<BaseNetworkSocketGetSockNameResult, DefaultFuchsiaResourceDialect>
Retrieves the local socket address.
Sourcepub fn get_peer_name(
&self,
) -> QueryResponseFut<BaseNetworkSocketGetPeerNameResult, DefaultFuchsiaResourceDialect>
pub fn get_peer_name( &self, ) -> QueryResponseFut<BaseNetworkSocketGetPeerNameResult, DefaultFuchsiaResourceDialect>
Retrieves the remote socket address.
Sourcepub fn shutdown(
&self,
mode: ShutdownMode,
) -> QueryResponseFut<BaseNetworkSocketShutdownResult, DefaultFuchsiaResourceDialect>
pub fn shutdown( &self, mode: ShutdownMode, ) -> QueryResponseFut<BaseNetworkSocketShutdownResult, DefaultFuchsiaResourceDialect>
Shuts down part of the socket.
Sourcepub fn set_ip_type_of_service(
&self,
value: u8,
) -> QueryResponseFut<BaseNetworkSocketSetIpTypeOfServiceResult, DefaultFuchsiaResourceDialect>
pub fn set_ip_type_of_service( &self, value: u8, ) -> QueryResponseFut<BaseNetworkSocketSetIpTypeOfServiceResult, DefaultFuchsiaResourceDialect>
Set SOL_IP
-> IP_TOS
.
Sourcepub fn get_ip_type_of_service(
&self,
) -> QueryResponseFut<BaseNetworkSocketGetIpTypeOfServiceResult, DefaultFuchsiaResourceDialect>
pub fn get_ip_type_of_service( &self, ) -> QueryResponseFut<BaseNetworkSocketGetIpTypeOfServiceResult, DefaultFuchsiaResourceDialect>
Get SOL_IP
-> IP_TOS
.
Sourcepub fn set_ip_ttl(
&self,
value: &OptionalUint8,
) -> QueryResponseFut<BaseNetworkSocketSetIpTtlResult, DefaultFuchsiaResourceDialect>
pub fn set_ip_ttl( &self, value: &OptionalUint8, ) -> QueryResponseFut<BaseNetworkSocketSetIpTtlResult, DefaultFuchsiaResourceDialect>
Set SOL_IP
-> IP_TTL
.
Sourcepub fn get_ip_ttl(
&self,
) -> QueryResponseFut<BaseNetworkSocketGetIpTtlResult, DefaultFuchsiaResourceDialect>
pub fn get_ip_ttl( &self, ) -> QueryResponseFut<BaseNetworkSocketGetIpTtlResult, DefaultFuchsiaResourceDialect>
Get SOL_IP
-> IP_TTL
.
Sourcepub fn set_ip_packet_info(
&self,
value: bool,
) -> QueryResponseFut<BaseNetworkSocketSetIpPacketInfoResult, DefaultFuchsiaResourceDialect>
pub fn set_ip_packet_info( &self, value: bool, ) -> QueryResponseFut<BaseNetworkSocketSetIpPacketInfoResult, DefaultFuchsiaResourceDialect>
Set SOL_IP
-> IP_PKTINFO
.
Sourcepub fn get_ip_packet_info(
&self,
) -> QueryResponseFut<BaseNetworkSocketGetIpPacketInfoResult, DefaultFuchsiaResourceDialect>
pub fn get_ip_packet_info( &self, ) -> QueryResponseFut<BaseNetworkSocketGetIpPacketInfoResult, DefaultFuchsiaResourceDialect>
Get SOL_IP
-> IP_PKTINFO
.
Sourcepub fn set_ip_receive_type_of_service(
&self,
value: bool,
) -> QueryResponseFut<BaseNetworkSocketSetIpReceiveTypeOfServiceResult, DefaultFuchsiaResourceDialect>
pub fn set_ip_receive_type_of_service( &self, value: bool, ) -> QueryResponseFut<BaseNetworkSocketSetIpReceiveTypeOfServiceResult, DefaultFuchsiaResourceDialect>
Set SOL_IP
-> IP_RECVTOS
.
Sourcepub fn get_ip_receive_type_of_service(
&self,
) -> QueryResponseFut<BaseNetworkSocketGetIpReceiveTypeOfServiceResult, DefaultFuchsiaResourceDialect>
pub fn get_ip_receive_type_of_service( &self, ) -> QueryResponseFut<BaseNetworkSocketGetIpReceiveTypeOfServiceResult, DefaultFuchsiaResourceDialect>
Get SOL_IP
-> IP_RECVTOS
.
Sourcepub fn set_ip_receive_ttl(
&self,
value: bool,
) -> QueryResponseFut<BaseNetworkSocketSetIpReceiveTtlResult, DefaultFuchsiaResourceDialect>
pub fn set_ip_receive_ttl( &self, value: bool, ) -> QueryResponseFut<BaseNetworkSocketSetIpReceiveTtlResult, DefaultFuchsiaResourceDialect>
Set SOL_IP
-> IP_RECVTTL
.
Sourcepub fn get_ip_receive_ttl(
&self,
) -> QueryResponseFut<BaseNetworkSocketGetIpReceiveTtlResult, DefaultFuchsiaResourceDialect>
pub fn get_ip_receive_ttl( &self, ) -> QueryResponseFut<BaseNetworkSocketGetIpReceiveTtlResult, DefaultFuchsiaResourceDialect>
Get SOL_IP
-> IP_RECVTTL
.
Sourcepub fn set_ip_multicast_interface(
&self,
iface: u64,
address: &Ipv4Address,
) -> QueryResponseFut<BaseNetworkSocketSetIpMulticastInterfaceResult, DefaultFuchsiaResourceDialect>
pub fn set_ip_multicast_interface( &self, iface: u64, address: &Ipv4Address, ) -> QueryResponseFut<BaseNetworkSocketSetIpMulticastInterfaceResult, DefaultFuchsiaResourceDialect>
Set SOL_IP
-> IP_MULTICAST_IF
.
Sourcepub fn get_ip_multicast_interface(
&self,
) -> QueryResponseFut<BaseNetworkSocketGetIpMulticastInterfaceResult, DefaultFuchsiaResourceDialect>
pub fn get_ip_multicast_interface( &self, ) -> QueryResponseFut<BaseNetworkSocketGetIpMulticastInterfaceResult, DefaultFuchsiaResourceDialect>
Get SOL_IP
-> IP_MULTICAST_IF
.
Sourcepub fn set_ip_multicast_ttl(
&self,
value: &OptionalUint8,
) -> QueryResponseFut<BaseNetworkSocketSetIpMulticastTtlResult, DefaultFuchsiaResourceDialect>
pub fn set_ip_multicast_ttl( &self, value: &OptionalUint8, ) -> QueryResponseFut<BaseNetworkSocketSetIpMulticastTtlResult, DefaultFuchsiaResourceDialect>
Set SOL_IP
-> IP_MULTICAST_TTL
.
Sourcepub fn get_ip_multicast_ttl(
&self,
) -> QueryResponseFut<BaseNetworkSocketGetIpMulticastTtlResult, DefaultFuchsiaResourceDialect>
pub fn get_ip_multicast_ttl( &self, ) -> QueryResponseFut<BaseNetworkSocketGetIpMulticastTtlResult, DefaultFuchsiaResourceDialect>
Get SOL_IP
-> IP_MULTICAST_TTL
.
Sourcepub fn set_ip_multicast_loopback(
&self,
value: bool,
) -> QueryResponseFut<BaseNetworkSocketSetIpMulticastLoopbackResult, DefaultFuchsiaResourceDialect>
pub fn set_ip_multicast_loopback( &self, value: bool, ) -> QueryResponseFut<BaseNetworkSocketSetIpMulticastLoopbackResult, DefaultFuchsiaResourceDialect>
Set SOL_IP
-> IP_MULTICAST_LOOP
.
Sourcepub fn get_ip_multicast_loopback(
&self,
) -> QueryResponseFut<BaseNetworkSocketGetIpMulticastLoopbackResult, DefaultFuchsiaResourceDialect>
pub fn get_ip_multicast_loopback( &self, ) -> QueryResponseFut<BaseNetworkSocketGetIpMulticastLoopbackResult, DefaultFuchsiaResourceDialect>
Get SOL_IP
-> IP_MULTICAST_LOOP
.
Sourcepub fn add_ip_membership(
&self,
membership: &IpMulticastMembership,
) -> QueryResponseFut<BaseNetworkSocketAddIpMembershipResult, DefaultFuchsiaResourceDialect>
pub fn add_ip_membership( &self, membership: &IpMulticastMembership, ) -> QueryResponseFut<BaseNetworkSocketAddIpMembershipResult, DefaultFuchsiaResourceDialect>
Set SOL_IP
-> IP_ADD_MEMBERSHIP
Sourcepub fn drop_ip_membership(
&self,
membership: &IpMulticastMembership,
) -> QueryResponseFut<BaseNetworkSocketDropIpMembershipResult, DefaultFuchsiaResourceDialect>
pub fn drop_ip_membership( &self, membership: &IpMulticastMembership, ) -> QueryResponseFut<BaseNetworkSocketDropIpMembershipResult, DefaultFuchsiaResourceDialect>
Set SOL_IP
-> IP_DROP_MEMBERSHIP
Sourcepub fn set_ip_transparent(
&self,
value: bool,
) -> QueryResponseFut<BaseNetworkSocketSetIpTransparentResult, DefaultFuchsiaResourceDialect>
pub fn set_ip_transparent( &self, value: bool, ) -> QueryResponseFut<BaseNetworkSocketSetIpTransparentResult, DefaultFuchsiaResourceDialect>
Set SOL_IP
-> IP_TRANSPARENT
Sourcepub fn get_ip_transparent(
&self,
) -> QueryResponseFut<BaseNetworkSocketGetIpTransparentResult, DefaultFuchsiaResourceDialect>
pub fn get_ip_transparent( &self, ) -> QueryResponseFut<BaseNetworkSocketGetIpTransparentResult, DefaultFuchsiaResourceDialect>
Get SOL_IP
-> IP_TRANSPARENT
Sourcepub fn set_ip_receive_original_destination_address(
&self,
value: bool,
) -> QueryResponseFut<BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult, DefaultFuchsiaResourceDialect>
pub fn set_ip_receive_original_destination_address( &self, value: bool, ) -> QueryResponseFut<BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult, DefaultFuchsiaResourceDialect>
Set SOL_IP
-> IP_RECVORIGDSTADDR
Sourcepub fn get_ip_receive_original_destination_address(
&self,
) -> QueryResponseFut<BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult, DefaultFuchsiaResourceDialect>
pub fn get_ip_receive_original_destination_address( &self, ) -> QueryResponseFut<BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult, DefaultFuchsiaResourceDialect>
Get SOL_IP
-> IP_RECVORIGDSTADDR
Sourcepub fn add_ipv6_membership(
&self,
membership: &Ipv6MulticastMembership,
) -> QueryResponseFut<BaseNetworkSocketAddIpv6MembershipResult, DefaultFuchsiaResourceDialect>
pub fn add_ipv6_membership( &self, membership: &Ipv6MulticastMembership, ) -> QueryResponseFut<BaseNetworkSocketAddIpv6MembershipResult, DefaultFuchsiaResourceDialect>
Set SOL_IPV6
-> IPV6_ADD_MEMBERSHIP
.
Sourcepub fn drop_ipv6_membership(
&self,
membership: &Ipv6MulticastMembership,
) -> QueryResponseFut<BaseNetworkSocketDropIpv6MembershipResult, DefaultFuchsiaResourceDialect>
pub fn drop_ipv6_membership( &self, membership: &Ipv6MulticastMembership, ) -> QueryResponseFut<BaseNetworkSocketDropIpv6MembershipResult, DefaultFuchsiaResourceDialect>
Set SOL_IPV6
-> IPV6_DROP_MEMBERSHIP
.
Sourcepub fn set_ipv6_multicast_interface(
&self,
value: u64,
) -> QueryResponseFut<BaseNetworkSocketSetIpv6MulticastInterfaceResult, DefaultFuchsiaResourceDialect>
pub fn set_ipv6_multicast_interface( &self, value: u64, ) -> QueryResponseFut<BaseNetworkSocketSetIpv6MulticastInterfaceResult, DefaultFuchsiaResourceDialect>
Set SOL_IPV6
-> IPV6_MULTICAST_IF
.
Sourcepub fn get_ipv6_multicast_interface(
&self,
) -> QueryResponseFut<BaseNetworkSocketGetIpv6MulticastInterfaceResult, DefaultFuchsiaResourceDialect>
pub fn get_ipv6_multicast_interface( &self, ) -> QueryResponseFut<BaseNetworkSocketGetIpv6MulticastInterfaceResult, DefaultFuchsiaResourceDialect>
Get SOL_IPV6
-> IPV6_MULTICAST_IF
.
Sourcepub fn set_ipv6_unicast_hops(
&self,
value: &OptionalUint8,
) -> QueryResponseFut<BaseNetworkSocketSetIpv6UnicastHopsResult, DefaultFuchsiaResourceDialect>
pub fn set_ipv6_unicast_hops( &self, value: &OptionalUint8, ) -> QueryResponseFut<BaseNetworkSocketSetIpv6UnicastHopsResult, DefaultFuchsiaResourceDialect>
Set SOL_IPV6
-> IPV6_UNICAST_HOPS
.
Sourcepub fn get_ipv6_unicast_hops(
&self,
) -> QueryResponseFut<BaseNetworkSocketGetIpv6UnicastHopsResult, DefaultFuchsiaResourceDialect>
pub fn get_ipv6_unicast_hops( &self, ) -> QueryResponseFut<BaseNetworkSocketGetIpv6UnicastHopsResult, DefaultFuchsiaResourceDialect>
Get SOL_IPV6
-> IPV6_UNICAST_HOPS
.
Sourcepub fn set_ipv6_receive_hop_limit(
&self,
value: bool,
) -> QueryResponseFut<BaseNetworkSocketSetIpv6ReceiveHopLimitResult, DefaultFuchsiaResourceDialect>
pub fn set_ipv6_receive_hop_limit( &self, value: bool, ) -> QueryResponseFut<BaseNetworkSocketSetIpv6ReceiveHopLimitResult, DefaultFuchsiaResourceDialect>
Set SOL_IPV6
-> IPV6_RECVHOPLIMIT
.
Sourcepub fn get_ipv6_receive_hop_limit(
&self,
) -> QueryResponseFut<BaseNetworkSocketGetIpv6ReceiveHopLimitResult, DefaultFuchsiaResourceDialect>
pub fn get_ipv6_receive_hop_limit( &self, ) -> QueryResponseFut<BaseNetworkSocketGetIpv6ReceiveHopLimitResult, DefaultFuchsiaResourceDialect>
Get SOL_IPV6
-> IPV6_RECVHOPLIMIT
.
Sourcepub fn set_ipv6_multicast_hops(
&self,
value: &OptionalUint8,
) -> QueryResponseFut<BaseNetworkSocketSetIpv6MulticastHopsResult, DefaultFuchsiaResourceDialect>
pub fn set_ipv6_multicast_hops( &self, value: &OptionalUint8, ) -> QueryResponseFut<BaseNetworkSocketSetIpv6MulticastHopsResult, DefaultFuchsiaResourceDialect>
Set SOL_IPV6
-> IPV6_MULTICAST_HOPS
.
Sourcepub fn get_ipv6_multicast_hops(
&self,
) -> QueryResponseFut<BaseNetworkSocketGetIpv6MulticastHopsResult, DefaultFuchsiaResourceDialect>
pub fn get_ipv6_multicast_hops( &self, ) -> QueryResponseFut<BaseNetworkSocketGetIpv6MulticastHopsResult, DefaultFuchsiaResourceDialect>
Get SOL_IPV6
-> IPV6_MULTICAST_HOPS
.
Sourcepub fn set_ipv6_multicast_loopback(
&self,
value: bool,
) -> QueryResponseFut<BaseNetworkSocketSetIpv6MulticastLoopbackResult, DefaultFuchsiaResourceDialect>
pub fn set_ipv6_multicast_loopback( &self, value: bool, ) -> QueryResponseFut<BaseNetworkSocketSetIpv6MulticastLoopbackResult, DefaultFuchsiaResourceDialect>
Set SOL_IPV6
-> IPV6_MULTICAST_LOOP
.
Sourcepub fn get_ipv6_multicast_loopback(
&self,
) -> QueryResponseFut<BaseNetworkSocketGetIpv6MulticastLoopbackResult, DefaultFuchsiaResourceDialect>
pub fn get_ipv6_multicast_loopback( &self, ) -> QueryResponseFut<BaseNetworkSocketGetIpv6MulticastLoopbackResult, DefaultFuchsiaResourceDialect>
Get SOL_IPV6
-> IPV6_MULTICAST_LOOP
.
Sourcepub fn set_ipv6_only(
&self,
value: bool,
) -> QueryResponseFut<BaseNetworkSocketSetIpv6OnlyResult, DefaultFuchsiaResourceDialect>
pub fn set_ipv6_only( &self, value: bool, ) -> QueryResponseFut<BaseNetworkSocketSetIpv6OnlyResult, DefaultFuchsiaResourceDialect>
Set SOL_IPV6
-> IPV6_V6ONLY
.
Sourcepub fn get_ipv6_only(
&self,
) -> QueryResponseFut<BaseNetworkSocketGetIpv6OnlyResult, DefaultFuchsiaResourceDialect>
pub fn get_ipv6_only( &self, ) -> QueryResponseFut<BaseNetworkSocketGetIpv6OnlyResult, DefaultFuchsiaResourceDialect>
Get SOL_IPV6
-> IPV6_V6ONLY
.
Sourcepub fn set_ipv6_receive_traffic_class(
&self,
value: bool,
) -> QueryResponseFut<BaseNetworkSocketSetIpv6ReceiveTrafficClassResult, DefaultFuchsiaResourceDialect>
pub fn set_ipv6_receive_traffic_class( &self, value: bool, ) -> QueryResponseFut<BaseNetworkSocketSetIpv6ReceiveTrafficClassResult, DefaultFuchsiaResourceDialect>
Set SOL_IPV6
-> IPV6_RECVTCLASS
.
Sourcepub fn get_ipv6_receive_traffic_class(
&self,
) -> QueryResponseFut<BaseNetworkSocketGetIpv6ReceiveTrafficClassResult, DefaultFuchsiaResourceDialect>
pub fn get_ipv6_receive_traffic_class( &self, ) -> QueryResponseFut<BaseNetworkSocketGetIpv6ReceiveTrafficClassResult, DefaultFuchsiaResourceDialect>
Get SOL_IPV6
-> IPV6_RECVTCLASS
.
Sourcepub fn set_ipv6_traffic_class(
&self,
value: &OptionalUint8,
) -> QueryResponseFut<BaseNetworkSocketSetIpv6TrafficClassResult, DefaultFuchsiaResourceDialect>
pub fn set_ipv6_traffic_class( &self, value: &OptionalUint8, ) -> QueryResponseFut<BaseNetworkSocketSetIpv6TrafficClassResult, DefaultFuchsiaResourceDialect>
Set SOL_IPV6
-> IPV6_TCLASS
Sourcepub fn get_ipv6_traffic_class(
&self,
) -> QueryResponseFut<BaseNetworkSocketGetIpv6TrafficClassResult, DefaultFuchsiaResourceDialect>
pub fn get_ipv6_traffic_class( &self, ) -> QueryResponseFut<BaseNetworkSocketGetIpv6TrafficClassResult, DefaultFuchsiaResourceDialect>
Get SOL_IPV6
-> IPV6_TCLASS
.
Sourcepub fn set_ipv6_receive_packet_info(
&self,
value: bool,
) -> QueryResponseFut<BaseNetworkSocketSetIpv6ReceivePacketInfoResult, DefaultFuchsiaResourceDialect>
pub fn set_ipv6_receive_packet_info( &self, value: bool, ) -> QueryResponseFut<BaseNetworkSocketSetIpv6ReceivePacketInfoResult, DefaultFuchsiaResourceDialect>
Set SOL_IPV6
-> IPV6_RECVPKTINFO
.
Sourcepub fn get_ipv6_receive_packet_info(
&self,
) -> QueryResponseFut<BaseNetworkSocketGetIpv6ReceivePacketInfoResult, DefaultFuchsiaResourceDialect>
pub fn get_ipv6_receive_packet_info( &self, ) -> QueryResponseFut<BaseNetworkSocketGetIpv6ReceivePacketInfoResult, DefaultFuchsiaResourceDialect>
Get SOL_IPV6
-> IPV6_RECVPKTINFO
.
Sourcepub fn get_original_destination(
&self,
) -> QueryResponseFut<BaseNetworkSocketGetOriginalDestinationResult, DefaultFuchsiaResourceDialect>
pub fn get_original_destination( &self, ) -> QueryResponseFut<BaseNetworkSocketGetOriginalDestinationResult, DefaultFuchsiaResourceDialect>
Get SOL_IP
-> SO_ORIGINAL_DST
.
Sourcepub fn get_info(
&self,
) -> QueryResponseFut<BaseDatagramSocketGetInfoResult, DefaultFuchsiaResourceDialect>
pub fn get_info( &self, ) -> QueryResponseFut<BaseDatagramSocketGetInfoResult, DefaultFuchsiaResourceDialect>
Retrieves creation information from the socket.
- response
domain
the socket’s associated domain. - response
proto
the socket’s associated protocol.
pub fn describe( &self, ) -> QueryResponseFut<DatagramSocketDescribeResponse, DefaultFuchsiaResourceDialect>
Sourcepub fn send_msg_preflight(
&self,
payload: &DatagramSocketSendMsgPreflightRequest,
) -> QueryResponseFut<DatagramSocketSendMsgPreflightResult, DefaultFuchsiaResourceDialect>
pub fn send_msg_preflight( &self, payload: &DatagramSocketSendMsgPreflightRequest, ) -> QueryResponseFut<DatagramSocketSendMsgPreflightResult, DefaultFuchsiaResourceDialect>
Validates that data can be sent.
- request
args
the requested disposition of data to be sent.
- response the constraints sent data must satisfy.
- error the error code indicating the reason for validation failure.
Sourcepub fn recv_msg_postflight(
&self,
) -> QueryResponseFut<DatagramSocketRecvMsgPostflightResult, DefaultFuchsiaResourceDialect>
pub fn recv_msg_postflight( &self, ) -> QueryResponseFut<DatagramSocketRecvMsgPostflightResult, DefaultFuchsiaResourceDialect>
Returns the set of requested control messages.
- response the set of currently requested control messages.
Trait Implementations§
Source§impl Clone for DatagramSocketProxy
impl Clone for DatagramSocketProxy
Source§fn clone(&self) -> DatagramSocketProxy
fn clone(&self) -> DatagramSocketProxy
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl DatagramSocketProxyInterface for DatagramSocketProxy
impl DatagramSocketProxyInterface for DatagramSocketProxy
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 BindResponseFut = QueryResponseFut<Result<(), Errno>>
type ConnectResponseFut = QueryResponseFut<Result<(), Errno>>
type DisconnectResponseFut = QueryResponseFut<Result<(), Errno>>
type GetSockNameResponseFut = QueryResponseFut<Result<SocketAddress, Errno>>
type GetPeerNameResponseFut = QueryResponseFut<Result<SocketAddress, Errno>>
type ShutdownResponseFut = QueryResponseFut<Result<(), Errno>>
type SetIpTypeOfServiceResponseFut = QueryResponseFut<Result<(), Errno>>
type GetIpTypeOfServiceResponseFut = QueryResponseFut<Result<u8, Errno>>
type SetIpTtlResponseFut = QueryResponseFut<Result<(), Errno>>
type GetIpTtlResponseFut = QueryResponseFut<Result<u8, Errno>>
type SetIpPacketInfoResponseFut = QueryResponseFut<Result<(), Errno>>
type GetIpPacketInfoResponseFut = QueryResponseFut<Result<bool, Errno>>
type SetIpReceiveTypeOfServiceResponseFut = QueryResponseFut<Result<(), Errno>>
type GetIpReceiveTypeOfServiceResponseFut = QueryResponseFut<Result<bool, Errno>>
type SetIpReceiveTtlResponseFut = QueryResponseFut<Result<(), Errno>>
type GetIpReceiveTtlResponseFut = QueryResponseFut<Result<bool, Errno>>
type SetIpMulticastInterfaceResponseFut = QueryResponseFut<Result<(), Errno>>
type GetIpMulticastInterfaceResponseFut = QueryResponseFut<Result<Ipv4Address, Errno>>
type SetIpMulticastTtlResponseFut = QueryResponseFut<Result<(), Errno>>
type GetIpMulticastTtlResponseFut = QueryResponseFut<Result<u8, Errno>>
type SetIpMulticastLoopbackResponseFut = QueryResponseFut<Result<(), Errno>>
type GetIpMulticastLoopbackResponseFut = QueryResponseFut<Result<bool, Errno>>
type AddIpMembershipResponseFut = QueryResponseFut<Result<(), Errno>>
type DropIpMembershipResponseFut = QueryResponseFut<Result<(), Errno>>
type SetIpTransparentResponseFut = QueryResponseFut<Result<(), Errno>>
type GetIpTransparentResponseFut = QueryResponseFut<Result<bool, Errno>>
type SetIpReceiveOriginalDestinationAddressResponseFut = QueryResponseFut<Result<(), Errno>>
type GetIpReceiveOriginalDestinationAddressResponseFut = QueryResponseFut<Result<bool, Errno>>
type AddIpv6MembershipResponseFut = QueryResponseFut<Result<(), Errno>>
type DropIpv6MembershipResponseFut = QueryResponseFut<Result<(), Errno>>
type SetIpv6MulticastInterfaceResponseFut = QueryResponseFut<Result<(), Errno>>
type GetIpv6MulticastInterfaceResponseFut = QueryResponseFut<Result<u64, Errno>>
type SetIpv6UnicastHopsResponseFut = QueryResponseFut<Result<(), Errno>>
type GetIpv6UnicastHopsResponseFut = QueryResponseFut<Result<u8, Errno>>
type SetIpv6ReceiveHopLimitResponseFut = QueryResponseFut<Result<(), Errno>>
type GetIpv6ReceiveHopLimitResponseFut = QueryResponseFut<Result<bool, Errno>>
type SetIpv6MulticastHopsResponseFut = QueryResponseFut<Result<(), Errno>>
type GetIpv6MulticastHopsResponseFut = QueryResponseFut<Result<u8, Errno>>
type SetIpv6MulticastLoopbackResponseFut = QueryResponseFut<Result<(), Errno>>
type GetIpv6MulticastLoopbackResponseFut = QueryResponseFut<Result<bool, Errno>>
type SetIpv6OnlyResponseFut = QueryResponseFut<Result<(), Errno>>
type GetIpv6OnlyResponseFut = QueryResponseFut<Result<bool, Errno>>
type SetIpv6ReceiveTrafficClassResponseFut = QueryResponseFut<Result<(), Errno>>
type GetIpv6ReceiveTrafficClassResponseFut = QueryResponseFut<Result<bool, Errno>>
type SetIpv6TrafficClassResponseFut = QueryResponseFut<Result<(), Errno>>
type GetIpv6TrafficClassResponseFut = QueryResponseFut<Result<u8, Errno>>
type SetIpv6ReceivePacketInfoResponseFut = QueryResponseFut<Result<(), Errno>>
type GetIpv6ReceivePacketInfoResponseFut = QueryResponseFut<Result<bool, Errno>>
type GetOriginalDestinationResponseFut = QueryResponseFut<Result<SocketAddress, Errno>>
type GetInfoResponseFut = QueryResponseFut<Result<(Domain, DatagramSocketProtocol), Errno>>
type DescribeResponseFut = QueryResponseFut<DatagramSocketDescribeResponse>
type SendMsgPreflightResponseFut = QueryResponseFut<Result<DatagramSocketSendMsgPreflightResponse, Errno>>
type RecvMsgPostflightResponseFut = QueryResponseFut<Result<DatagramSocketRecvMsgPostflightResponse, Errno>>
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
Source§impl Debug for DatagramSocketProxy
impl Debug for DatagramSocketProxy
Source§impl Proxy for DatagramSocketProxy
impl Proxy for DatagramSocketProxy
Source§type Protocol = DatagramSocketMarker
type Protocol = DatagramSocketMarker
Proxy
controls.Source§fn from_channel(inner: AsyncChannel) -> Self
fn from_channel(inner: AsyncChannel) -> Self
Source§fn into_channel(self) -> Result<AsyncChannel, Self>
fn into_channel(self) -> Result<AsyncChannel, Self>
Source§fn as_channel(&self) -> &AsyncChannel
fn as_channel(&self) -> &AsyncChannel
§fn into_client_end(self) -> Result<ClientEnd<Self::Protocol>, Self>
fn into_client_end(self) -> Result<ClientEnd<Self::Protocol>, Self>
Auto Trait Implementations§
impl Freeze for DatagramSocketProxy
impl !RefUnwindSafe for DatagramSocketProxy
impl Send for DatagramSocketProxy
impl Sync for DatagramSocketProxy
impl Unpin for DatagramSocketProxy
impl !UnwindSafe for DatagramSocketProxy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)