pub struct BaseNetworkSocketProxy { /* private fields */ }

Implementations§

source§

impl BaseNetworkSocketProxy

source

pub fn new(channel: AsyncChannel) -> Self

Create a new Proxy for BaseNetworkSocket

source

pub fn take_event_stream(&self) -> BaseNetworkSocketEventStream

Get a Stream of events from the remote end of the BaseNetworkSocket protocol

Panics

Panics if the event stream was already taken.

source

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

source

pub fn close(&self) -> QueryResponseFut<CloseableCloseResult>

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.

source

pub fn query(&self) -> QueryResponseFut<Vec<u8>>

source

pub fn set_reuse_address( &self, value: bool ) -> QueryResponseFut<BaseSocketSetReuseAddressResult>

Set SOL_SOCKET -> SO_REUSEADDR.

source

pub fn get_reuse_address( &self ) -> QueryResponseFut<BaseSocketGetReuseAddressResult>

Get SOL_SOCKET -> SO_REUSEADDR.

source

pub fn get_error(&self) -> QueryResponseFut<BaseSocketGetErrorResult>

Get SOL_SOCKET -> SO_ERROR. Returns the last error if there is an error set on the socket.

source

pub fn set_broadcast( &self, value: bool ) -> QueryResponseFut<BaseSocketSetBroadcastResult>

Set SOL_SOCKET -> SO_BROADCAST.

source

pub fn get_broadcast(&self) -> QueryResponseFut<BaseSocketGetBroadcastResult>

Get SOL_SOCKET -> SO_BROADCAST.

source

pub fn set_send_buffer( &self, value_bytes: u64 ) -> QueryResponseFut<BaseSocketSetSendBufferResult>

Set SOL_SOCKET -> SO_SNDBUF.

source

pub fn get_send_buffer(&self) -> QueryResponseFut<BaseSocketGetSendBufferResult>

Get SOL_SOCKET -> SO_SNDBUF.

source

pub fn set_receive_buffer( &self, value_bytes: u64 ) -> QueryResponseFut<BaseSocketSetReceiveBufferResult>

Set SOL_SOCKET -> SO_RCVBUF.

source

pub fn get_receive_buffer( &self ) -> QueryResponseFut<BaseSocketGetReceiveBufferResult>

Get SOL_SOCKET -> SO_RCVBUF.

source

pub fn set_keep_alive( &self, value: bool ) -> QueryResponseFut<BaseSocketSetKeepAliveResult>

Set SOL_SOCKET -> SO_KEEPALIVE.

source

pub fn get_keep_alive(&self) -> QueryResponseFut<BaseSocketGetKeepAliveResult>

Get SOL_SOCKET -> SO_KEEPALIVE.

source

pub fn set_out_of_band_inline( &self, value: bool ) -> QueryResponseFut<BaseSocketSetOutOfBandInlineResult>

Set SOL_SOCKET -> SO_OOBINLINE.

source

pub fn get_out_of_band_inline( &self ) -> QueryResponseFut<BaseSocketGetOutOfBandInlineResult>

Get SOL_SOCKET -> SO_OOBINLINE.

source

pub fn set_no_check( &self, value: bool ) -> QueryResponseFut<BaseSocketSetNoCheckResult>

Set SOL_SOCKET -> SO_NO_CHECK.

source

pub fn get_no_check(&self) -> QueryResponseFut<BaseSocketGetNoCheckResult>

Get SOL_SOCKET -> SO_NO_CHECK.

source

pub fn set_linger( &self, linger: bool, length_secs: u32 ) -> QueryResponseFut<BaseSocketSetLingerResult>

Set SOL_SOCKET -> SO_LINGER.

source

pub fn get_linger(&self) -> QueryResponseFut<BaseSocketGetLingerResult>

Get SOL_SOCKET -> SO_LINGER.

source

pub fn set_reuse_port( &self, value: bool ) -> QueryResponseFut<BaseSocketSetReusePortResult>

Set SOL_SOCKET -> SO_REUSEPORT.

source

pub fn get_reuse_port(&self) -> QueryResponseFut<BaseSocketGetReusePortResult>

Get SOL_SOCKET -> SO_REUSEPORT.

source

pub fn get_accept_conn(&self) -> QueryResponseFut<BaseSocketGetAcceptConnResult>

Get SOL_SOCKET -> SO_ACCEPTCONN.

source

pub fn set_bind_to_device( &self, value: &str ) -> QueryResponseFut<BaseSocketSetBindToDeviceResult>

Set SOL_SOCKET -> SO_BINDTODEVICE.

source

pub fn get_bind_to_device( &self ) -> QueryResponseFut<BaseSocketGetBindToDeviceResult>

Get SOL_SOCKET -> SO_BINDTODEVICE.

source

pub fn set_timestamp( &self, value: TimestampOption ) -> QueryResponseFut<BaseSocketSetTimestampResult>

Set SOL_SOCKET -> SO_TIMESTAMP or SO_TIMESTAMPNS.

source

pub fn get_timestamp(&self) -> QueryResponseFut<BaseSocketGetTimestampResult>

Get SOL_SOCKET -> SO_TIMESTAMP or SO_TIMESTAMPNS.

source

pub fn bind( &self, addr: &mut SocketAddress ) -> QueryResponseFut<BaseNetworkSocketBindResult>

Sets the local address used for the socket.

source

pub fn connect( &self, addr: &mut SocketAddress ) -> QueryResponseFut<BaseNetworkSocketConnectResult>

Initiates a connection to a remote address.

source

pub fn disconnect(&self) -> QueryResponseFut<BaseNetworkSocketDisconnectResult>

Clears connection information from this socket.

source

pub fn get_sock_name( &self ) -> QueryResponseFut<BaseNetworkSocketGetSockNameResult>

Retrieves the local socket address.

source

pub fn get_peer_name( &self ) -> QueryResponseFut<BaseNetworkSocketGetPeerNameResult>

Retrieves the remote socket address.

source

pub fn shutdown( &self, mode: ShutdownMode ) -> QueryResponseFut<BaseNetworkSocketShutdownResult>

Shuts down part of the socket.

source

pub fn set_ip_type_of_service( &self, value: u8 ) -> QueryResponseFut<BaseNetworkSocketSetIpTypeOfServiceResult>

Set SOL_IP -> IP_TOS.

source

pub fn get_ip_type_of_service( &self ) -> QueryResponseFut<BaseNetworkSocketGetIpTypeOfServiceResult>

Get SOL_IP -> IP_TOS.

source

pub fn set_ip_ttl( &self, value: &mut OptionalUint8 ) -> QueryResponseFut<BaseNetworkSocketSetIpTtlResult>

Set SOL_IP -> IP_TTL.

source

pub fn get_ip_ttl(&self) -> QueryResponseFut<BaseNetworkSocketGetIpTtlResult>

Get SOL_IP -> IP_TTL.

source

pub fn set_ip_packet_info( &self, value: bool ) -> QueryResponseFut<BaseNetworkSocketSetIpPacketInfoResult>

Set SOL_IP -> IP_PKTINFO.

source

pub fn get_ip_packet_info( &self ) -> QueryResponseFut<BaseNetworkSocketGetIpPacketInfoResult>

Get SOL_IP -> IP_PKTINFO.

source

pub fn set_ip_receive_type_of_service( &self, value: bool ) -> QueryResponseFut<BaseNetworkSocketSetIpReceiveTypeOfServiceResult>

Set SOL_IP -> IP_RECVTOS.

source

pub fn get_ip_receive_type_of_service( &self ) -> QueryResponseFut<BaseNetworkSocketGetIpReceiveTypeOfServiceResult>

Get SOL_IP -> IP_RECVTOS.

source

pub fn set_ip_receive_ttl( &self, value: bool ) -> QueryResponseFut<BaseNetworkSocketSetIpReceiveTtlResult>

Set SOL_IP -> IP_RECVTTL.

source

pub fn get_ip_receive_ttl( &self ) -> QueryResponseFut<BaseNetworkSocketGetIpReceiveTtlResult>

Get SOL_IP -> IP_RECVTTL.

source

pub fn set_ip_multicast_interface( &self, iface: u64, address: &mut Ipv4Address ) -> QueryResponseFut<BaseNetworkSocketSetIpMulticastInterfaceResult>

Set SOL_IP -> IP_MULTICAST_IF.

source

pub fn get_ip_multicast_interface( &self ) -> QueryResponseFut<BaseNetworkSocketGetIpMulticastInterfaceResult>

Get SOL_IP -> IP_MULTICAST_IF.

source

pub fn set_ip_multicast_ttl( &self, value: &mut OptionalUint8 ) -> QueryResponseFut<BaseNetworkSocketSetIpMulticastTtlResult>

Set SOL_IP -> IP_MULTICAST_TTL.

source

pub fn get_ip_multicast_ttl( &self ) -> QueryResponseFut<BaseNetworkSocketGetIpMulticastTtlResult>

Get SOL_IP -> IP_MULTICAST_TTL.

source

pub fn set_ip_multicast_loopback( &self, value: bool ) -> QueryResponseFut<BaseNetworkSocketSetIpMulticastLoopbackResult>

Set SOL_IP -> IP_MULTICAST_LOOP.

source

pub fn get_ip_multicast_loopback( &self ) -> QueryResponseFut<BaseNetworkSocketGetIpMulticastLoopbackResult>

Get SOL_IP -> IP_MULTICAST_LOOP.

source

pub fn add_ip_membership( &self, membership: &mut IpMulticastMembership ) -> QueryResponseFut<BaseNetworkSocketAddIpMembershipResult>

Set SOL_IP -> IP_ADD_MEMBERSHIP

source

pub fn drop_ip_membership( &self, membership: &mut IpMulticastMembership ) -> QueryResponseFut<BaseNetworkSocketDropIpMembershipResult>

Set SOL_IP -> IP_DROP_MEMBERSHIP

source

pub fn add_ipv6_membership( &self, membership: &mut Ipv6MulticastMembership ) -> QueryResponseFut<BaseNetworkSocketAddIpv6MembershipResult>

Set SOL_IPV6 -> IPV6_ADD_MEMBERSHIP.

source

pub fn drop_ipv6_membership( &self, membership: &mut Ipv6MulticastMembership ) -> QueryResponseFut<BaseNetworkSocketDropIpv6MembershipResult>

Set SOL_IPV6 -> IPV6_DROP_MEMBERSHIP.

source

pub fn set_ipv6_multicast_interface( &self, value: u64 ) -> QueryResponseFut<BaseNetworkSocketSetIpv6MulticastInterfaceResult>

Set SOL_IPV6 -> IPV6_MULTICAST_IF.

source

pub fn get_ipv6_multicast_interface( &self ) -> QueryResponseFut<BaseNetworkSocketGetIpv6MulticastInterfaceResult>

Get SOL_IPV6 -> IPV6_MULTICAST_IF.

source

pub fn set_ipv6_unicast_hops( &self, value: &mut OptionalUint8 ) -> QueryResponseFut<BaseNetworkSocketSetIpv6UnicastHopsResult>

Set SOL_IPV6 -> IPV6_UNICAST_HOPS.

source

pub fn get_ipv6_unicast_hops( &self ) -> QueryResponseFut<BaseNetworkSocketGetIpv6UnicastHopsResult>

Get SOL_IPV6 -> IPV6_UNICAST_HOPS.

source

pub fn set_ipv6_receive_hop_limit( &self, value: bool ) -> QueryResponseFut<BaseNetworkSocketSetIpv6ReceiveHopLimitResult>

Set SOL_IPV6 -> IPV6_RECVHOPLIMIT.

source

pub fn get_ipv6_receive_hop_limit( &self ) -> QueryResponseFut<BaseNetworkSocketGetIpv6ReceiveHopLimitResult>

Get SOL_IPV6 -> IPV6_RECVHOPLIMIT.

source

pub fn set_ipv6_multicast_hops( &self, value: &mut OptionalUint8 ) -> QueryResponseFut<BaseNetworkSocketSetIpv6MulticastHopsResult>

Set SOL_IPV6 -> IPV6_MULTICAST_HOPS.

source

pub fn get_ipv6_multicast_hops( &self ) -> QueryResponseFut<BaseNetworkSocketGetIpv6MulticastHopsResult>

Get SOL_IPV6 -> IPV6_MULTICAST_HOPS.

source

pub fn set_ipv6_multicast_loopback( &self, value: bool ) -> QueryResponseFut<BaseNetworkSocketSetIpv6MulticastLoopbackResult>

Set SOL_IPV6 -> IPV6_MULTICAST_LOOP.

source

pub fn get_ipv6_multicast_loopback( &self ) -> QueryResponseFut<BaseNetworkSocketGetIpv6MulticastLoopbackResult>

Get SOL_IPV6 -> IPV6_MULTICAST_LOOP.

source

pub fn set_ipv6_only( &self, value: bool ) -> QueryResponseFut<BaseNetworkSocketSetIpv6OnlyResult>

Set SOL_IPV6 -> IPV6_V6ONLY.

source

pub fn get_ipv6_only( &self ) -> QueryResponseFut<BaseNetworkSocketGetIpv6OnlyResult>

Get SOL_IPV6 -> IPV6_V6ONLY.

source

pub fn set_ipv6_receive_traffic_class( &self, value: bool ) -> QueryResponseFut<BaseNetworkSocketSetIpv6ReceiveTrafficClassResult>

Set SOL_IPV6 -> IPV6_RECVTCLASS.

source

pub fn get_ipv6_receive_traffic_class( &self ) -> QueryResponseFut<BaseNetworkSocketGetIpv6ReceiveTrafficClassResult>

Get SOL_IPV6 -> IPV6_RECVTCLASS.

source

pub fn set_ipv6_traffic_class( &self, value: &mut OptionalUint8 ) -> QueryResponseFut<BaseNetworkSocketSetIpv6TrafficClassResult>

Set SOL_IPV6 -> IPV6_TCLASS

source

pub fn get_ipv6_traffic_class( &self ) -> QueryResponseFut<BaseNetworkSocketGetIpv6TrafficClassResult>

Get SOL_IPV6 -> IPV6_TCLASS.

source

pub fn set_ipv6_receive_packet_info( &self, value: bool ) -> QueryResponseFut<BaseNetworkSocketSetIpv6ReceivePacketInfoResult>

Set SOL_IPV6 -> IPV6_RECVPKTINFO.

source

pub fn get_ipv6_receive_packet_info( &self ) -> QueryResponseFut<BaseNetworkSocketGetIpv6ReceivePacketInfoResult>

Get SOL_IPV6 -> IPV6_RECVPKTINFO.

Trait Implementations§

source§

impl BaseNetworkSocketProxyInterface for BaseNetworkSocketProxy

source§

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

§

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

source§

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

§

type QueryResponseFut = QueryResponseFut<Vec<u8, Global>>

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

fn bind(&self, addr: &mut SocketAddress) -> Self::BindResponseFut

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

§

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

source§

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

source§

impl Clone for BaseNetworkSocketProxy

source§

fn clone(&self) -> BaseNetworkSocketProxy

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BaseNetworkSocketProxy

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Proxy for BaseNetworkSocketProxy

§

type Protocol = BaseNetworkSocketMarker

The protocol which this Proxy controls.
source§

fn from_channel(inner: AsyncChannel) -> Self

Create a proxy over the given channel.
source§

fn into_channel(self) -> Result<AsyncChannel, Self>

Attempt to convert the proxy back into a channel. Read more
source§

fn as_channel(&self) -> &AsyncChannel

Get a reference to the proxy’s underlying channel. Read more
§

fn is_closed(&self) -> bool

Returns true if the proxy has received the PEER_CLOSED signal.
§

fn on_closed<'a>(&'a self) -> OnSignals<'a>

Returns a future that completes when the proxy receives the PEER_CLOSED signal.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more