fidl_fuchsia_posix_socket

Enum BaseDatagramSocketRequest

Source
pub enum BaseDatagramSocketRequest {
Show 81 variants Clone2 { request: ServerEnd<CloneableMarker>, control_handle: BaseDatagramSocketControlHandle, }, Close { responder: BaseDatagramSocketCloseResponder, }, Query { responder: BaseDatagramSocketQueryResponder, }, SetReuseAddress { value: bool, responder: BaseDatagramSocketSetReuseAddressResponder, }, GetReuseAddress { responder: BaseDatagramSocketGetReuseAddressResponder, }, GetError { responder: BaseDatagramSocketGetErrorResponder, }, SetBroadcast { value: bool, responder: BaseDatagramSocketSetBroadcastResponder, }, GetBroadcast { responder: BaseDatagramSocketGetBroadcastResponder, }, SetSendBuffer { value_bytes: u64, responder: BaseDatagramSocketSetSendBufferResponder, }, GetSendBuffer { responder: BaseDatagramSocketGetSendBufferResponder, }, SetReceiveBuffer { value_bytes: u64, responder: BaseDatagramSocketSetReceiveBufferResponder, }, GetReceiveBuffer { responder: BaseDatagramSocketGetReceiveBufferResponder, }, SetKeepAlive { value: bool, responder: BaseDatagramSocketSetKeepAliveResponder, }, GetKeepAlive { responder: BaseDatagramSocketGetKeepAliveResponder, }, SetOutOfBandInline { value: bool, responder: BaseDatagramSocketSetOutOfBandInlineResponder, }, GetOutOfBandInline { responder: BaseDatagramSocketGetOutOfBandInlineResponder, }, SetNoCheck { value: bool, responder: BaseDatagramSocketSetNoCheckResponder, }, GetNoCheck { responder: BaseDatagramSocketGetNoCheckResponder, }, SetLinger { linger: bool, length_secs: u32, responder: BaseDatagramSocketSetLingerResponder, }, GetLinger { responder: BaseDatagramSocketGetLingerResponder, }, SetReusePort { value: bool, responder: BaseDatagramSocketSetReusePortResponder, }, GetReusePort { responder: BaseDatagramSocketGetReusePortResponder, }, GetAcceptConn { responder: BaseDatagramSocketGetAcceptConnResponder, }, SetBindToDevice { value: String, responder: BaseDatagramSocketSetBindToDeviceResponder, }, GetBindToDevice { responder: BaseDatagramSocketGetBindToDeviceResponder, }, SetBindToInterfaceIndex { value: u64, responder: BaseDatagramSocketSetBindToInterfaceIndexResponder, }, GetBindToInterfaceIndex { responder: BaseDatagramSocketGetBindToInterfaceIndexResponder, }, SetTimestamp { value: TimestampOption, responder: BaseDatagramSocketSetTimestampResponder, }, GetTimestamp { responder: BaseDatagramSocketGetTimestampResponder, }, SetMark { domain: MarkDomain, mark: OptionalUint32, responder: BaseDatagramSocketSetMarkResponder, }, GetMark { domain: MarkDomain, responder: BaseDatagramSocketGetMarkResponder, }, Bind { addr: SocketAddress, responder: BaseDatagramSocketBindResponder, }, Connect { addr: SocketAddress, responder: BaseDatagramSocketConnectResponder, }, Disconnect { responder: BaseDatagramSocketDisconnectResponder, }, GetSockName { responder: BaseDatagramSocketGetSockNameResponder, }, GetPeerName { responder: BaseDatagramSocketGetPeerNameResponder, }, Shutdown { mode: ShutdownMode, responder: BaseDatagramSocketShutdownResponder, }, SetIpTypeOfService { value: u8, responder: BaseDatagramSocketSetIpTypeOfServiceResponder, }, GetIpTypeOfService { responder: BaseDatagramSocketGetIpTypeOfServiceResponder, }, SetIpTtl { value: OptionalUint8, responder: BaseDatagramSocketSetIpTtlResponder, }, GetIpTtl { responder: BaseDatagramSocketGetIpTtlResponder, }, SetIpPacketInfo { value: bool, responder: BaseDatagramSocketSetIpPacketInfoResponder, }, GetIpPacketInfo { responder: BaseDatagramSocketGetIpPacketInfoResponder, }, SetIpReceiveTypeOfService { value: bool, responder: BaseDatagramSocketSetIpReceiveTypeOfServiceResponder, }, GetIpReceiveTypeOfService { responder: BaseDatagramSocketGetIpReceiveTypeOfServiceResponder, }, SetIpReceiveTtl { value: bool, responder: BaseDatagramSocketSetIpReceiveTtlResponder, }, GetIpReceiveTtl { responder: BaseDatagramSocketGetIpReceiveTtlResponder, }, SetIpMulticastInterface { iface: u64, address: Ipv4Address, responder: BaseDatagramSocketSetIpMulticastInterfaceResponder, }, GetIpMulticastInterface { responder: BaseDatagramSocketGetIpMulticastInterfaceResponder, }, SetIpMulticastTtl { value: OptionalUint8, responder: BaseDatagramSocketSetIpMulticastTtlResponder, }, GetIpMulticastTtl { responder: BaseDatagramSocketGetIpMulticastTtlResponder, }, SetIpMulticastLoopback { value: bool, responder: BaseDatagramSocketSetIpMulticastLoopbackResponder, }, GetIpMulticastLoopback { responder: BaseDatagramSocketGetIpMulticastLoopbackResponder, }, AddIpMembership { membership: IpMulticastMembership, responder: BaseDatagramSocketAddIpMembershipResponder, }, DropIpMembership { membership: IpMulticastMembership, responder: BaseDatagramSocketDropIpMembershipResponder, }, SetIpTransparent { value: bool, responder: BaseDatagramSocketSetIpTransparentResponder, }, GetIpTransparent { responder: BaseDatagramSocketGetIpTransparentResponder, }, SetIpReceiveOriginalDestinationAddress { value: bool, responder: BaseDatagramSocketSetIpReceiveOriginalDestinationAddressResponder, }, GetIpReceiveOriginalDestinationAddress { responder: BaseDatagramSocketGetIpReceiveOriginalDestinationAddressResponder, }, AddIpv6Membership { membership: Ipv6MulticastMembership, responder: BaseDatagramSocketAddIpv6MembershipResponder, }, DropIpv6Membership { membership: Ipv6MulticastMembership, responder: BaseDatagramSocketDropIpv6MembershipResponder, }, SetIpv6MulticastInterface { value: u64, responder: BaseDatagramSocketSetIpv6MulticastInterfaceResponder, }, GetIpv6MulticastInterface { responder: BaseDatagramSocketGetIpv6MulticastInterfaceResponder, }, SetIpv6UnicastHops { value: OptionalUint8, responder: BaseDatagramSocketSetIpv6UnicastHopsResponder, }, GetIpv6UnicastHops { responder: BaseDatagramSocketGetIpv6UnicastHopsResponder, }, SetIpv6ReceiveHopLimit { value: bool, responder: BaseDatagramSocketSetIpv6ReceiveHopLimitResponder, }, GetIpv6ReceiveHopLimit { responder: BaseDatagramSocketGetIpv6ReceiveHopLimitResponder, }, SetIpv6MulticastHops { value: OptionalUint8, responder: BaseDatagramSocketSetIpv6MulticastHopsResponder, }, GetIpv6MulticastHops { responder: BaseDatagramSocketGetIpv6MulticastHopsResponder, }, SetIpv6MulticastLoopback { value: bool, responder: BaseDatagramSocketSetIpv6MulticastLoopbackResponder, }, GetIpv6MulticastLoopback { responder: BaseDatagramSocketGetIpv6MulticastLoopbackResponder, }, SetIpv6Only { value: bool, responder: BaseDatagramSocketSetIpv6OnlyResponder, }, GetIpv6Only { responder: BaseDatagramSocketGetIpv6OnlyResponder, }, SetIpv6ReceiveTrafficClass { value: bool, responder: BaseDatagramSocketSetIpv6ReceiveTrafficClassResponder, }, GetIpv6ReceiveTrafficClass { responder: BaseDatagramSocketGetIpv6ReceiveTrafficClassResponder, }, SetIpv6TrafficClass { value: OptionalUint8, responder: BaseDatagramSocketSetIpv6TrafficClassResponder, }, GetIpv6TrafficClass { responder: BaseDatagramSocketGetIpv6TrafficClassResponder, }, SetIpv6ReceivePacketInfo { value: bool, responder: BaseDatagramSocketSetIpv6ReceivePacketInfoResponder, }, GetIpv6ReceivePacketInfo { responder: BaseDatagramSocketGetIpv6ReceivePacketInfoResponder, }, GetOriginalDestination { responder: BaseDatagramSocketGetOriginalDestinationResponder, }, GetInfo { responder: BaseDatagramSocketGetInfoResponder, },
}
Expand description

Base protocol shared by all datagram sockets.

Complete implementations of a datagram socket should compose this protocol.

Variants§

§

Clone2

Fields

§request: ServerEnd<CloneableMarker>
§

Close

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.

§

Query

§

SetReuseAddress

Set SOL_SOCKET -> SO_REUSEADDR.

§

GetReuseAddress

Get SOL_SOCKET -> SO_REUSEADDR.

§

GetError

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

§

SetBroadcast

Set SOL_SOCKET -> SO_BROADCAST.

§

GetBroadcast

Get SOL_SOCKET -> SO_BROADCAST.

§

SetSendBuffer

Set SOL_SOCKET -> SO_SNDBUF.

§

GetSendBuffer

Get SOL_SOCKET -> SO_SNDBUF.

§

SetReceiveBuffer

Set SOL_SOCKET -> SO_RCVBUF.

§

GetReceiveBuffer

Get SOL_SOCKET -> SO_RCVBUF.

§

SetKeepAlive

Set SOL_SOCKET -> SO_KEEPALIVE.

§

GetKeepAlive

Get SOL_SOCKET -> SO_KEEPALIVE.

§

SetOutOfBandInline

Set SOL_SOCKET -> SO_OOBINLINE.

§

GetOutOfBandInline

Get SOL_SOCKET -> SO_OOBINLINE.

§

SetNoCheck

Set SOL_SOCKET -> SO_NO_CHECK.

§

GetNoCheck

Get SOL_SOCKET -> SO_NO_CHECK.

§

SetLinger

Set SOL_SOCKET -> SO_LINGER.

Fields

§linger: bool
§length_secs: u32
§

GetLinger

Get SOL_SOCKET -> SO_LINGER.

§

SetReusePort

Set SOL_SOCKET -> SO_REUSEPORT.

§

GetReusePort

Get SOL_SOCKET -> SO_REUSEPORT.

§

GetAcceptConn

Get SOL_SOCKET -> SO_ACCEPTCONN.

§

SetBindToDevice

Set SOL_SOCKET -> SO_BINDTODEVICE.

§

GetBindToDevice

Get SOL_SOCKET -> SO_BINDTODEVICE.

§

SetBindToInterfaceIndex

Set SOL_SOCKET -> SO_BINDTOIFINDEX. If value is 0, this clears the bound interface.

§

GetBindToInterfaceIndex

Get SOL_SOCKET -> SO_BINDTOIFINDEX.

§

SetTimestamp

Set SOL_SOCKET -> SO_TIMESTAMP or SO_TIMESTAMPNS.

§

GetTimestamp

Get SOL_SOCKET -> SO_TIMESTAMP or SO_TIMESTAMPNS.

§

SetMark

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.

§

GetMark

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.

§

Bind

Sets the local address used for the socket.

§

Connect

Initiates a connection to a remote address.

§

Disconnect

Clears connection information from this socket.

§

GetSockName

Retrieves the local socket address.

§

GetPeerName

Retrieves the remote socket address.

§

Shutdown

Shuts down part of the socket.

§

SetIpTypeOfService

Set SOL_IP -> IP_TOS.

§

GetIpTypeOfService

Get SOL_IP -> IP_TOS.

§

SetIpTtl

Set SOL_IP -> IP_TTL.

§

GetIpTtl

Get SOL_IP -> IP_TTL.

§

SetIpPacketInfo

Set SOL_IP -> IP_PKTINFO.

§

GetIpPacketInfo

Get SOL_IP -> IP_PKTINFO.

§

SetIpReceiveTypeOfService

Set SOL_IP -> IP_RECVTOS.

§

GetIpReceiveTypeOfService

Get SOL_IP -> IP_RECVTOS.

§

SetIpReceiveTtl

Set SOL_IP -> IP_RECVTTL.

§

GetIpReceiveTtl

Get SOL_IP -> IP_RECVTTL.

§

SetIpMulticastInterface

Set SOL_IP -> IP_MULTICAST_IF.

§

GetIpMulticastInterface

Get SOL_IP -> IP_MULTICAST_IF.

§

SetIpMulticastTtl

Set SOL_IP -> IP_MULTICAST_TTL.

§

GetIpMulticastTtl

Get SOL_IP -> IP_MULTICAST_TTL.

§

SetIpMulticastLoopback

Set SOL_IP -> IP_MULTICAST_LOOP.

§

GetIpMulticastLoopback

Get SOL_IP -> IP_MULTICAST_LOOP.

§

AddIpMembership

Set SOL_IP -> IP_ADD_MEMBERSHIP

§

DropIpMembership

Set SOL_IP -> IP_DROP_MEMBERSHIP

§

SetIpTransparent

Set SOL_IP -> IP_TRANSPARENT

§

GetIpTransparent

Get SOL_IP -> IP_TRANSPARENT

§

SetIpReceiveOriginalDestinationAddress

Set SOL_IP -> IP_RECVORIGDSTADDR

§

GetIpReceiveOriginalDestinationAddress

Get SOL_IP -> IP_RECVORIGDSTADDR

§

AddIpv6Membership

Set SOL_IPV6 -> IPV6_ADD_MEMBERSHIP.

§

DropIpv6Membership

Set SOL_IPV6 -> IPV6_DROP_MEMBERSHIP.

§

SetIpv6MulticastInterface

Set SOL_IPV6 -> IPV6_MULTICAST_IF.

§

GetIpv6MulticastInterface

Get SOL_IPV6 -> IPV6_MULTICAST_IF.

§

SetIpv6UnicastHops

Set SOL_IPV6 -> IPV6_UNICAST_HOPS.

§

GetIpv6UnicastHops

Get SOL_IPV6 -> IPV6_UNICAST_HOPS.

§

SetIpv6ReceiveHopLimit

Set SOL_IPV6 -> IPV6_RECVHOPLIMIT.

§

GetIpv6ReceiveHopLimit

Get SOL_IPV6 -> IPV6_RECVHOPLIMIT.

§

SetIpv6MulticastHops

Set SOL_IPV6 -> IPV6_MULTICAST_HOPS.

§

GetIpv6MulticastHops

Get SOL_IPV6 -> IPV6_MULTICAST_HOPS.

§

SetIpv6MulticastLoopback

Set SOL_IPV6 -> IPV6_MULTICAST_LOOP.

§

GetIpv6MulticastLoopback

Get SOL_IPV6 -> IPV6_MULTICAST_LOOP.

§

SetIpv6Only

Set SOL_IPV6 -> IPV6_V6ONLY.

§

GetIpv6Only

Get SOL_IPV6 -> IPV6_V6ONLY.

§

SetIpv6ReceiveTrafficClass

Set SOL_IPV6 -> IPV6_RECVTCLASS.

§

GetIpv6ReceiveTrafficClass

Get SOL_IPV6 -> IPV6_RECVTCLASS.

§

SetIpv6TrafficClass

Set SOL_IPV6 -> IPV6_TCLASS

§

GetIpv6TrafficClass

Get SOL_IPV6 -> IPV6_TCLASS.

§

SetIpv6ReceivePacketInfo

Set SOL_IPV6 -> IPV6_RECVPKTINFO.

§

GetIpv6ReceivePacketInfo

Get SOL_IPV6 -> IPV6_RECVPKTINFO.

§

GetOriginalDestination

Get SOL_IP -> SO_ORIGINAL_DST.

§

GetInfo

Retrieves creation information from the socket.

  • response domain the socket’s associated domain.
  • response proto the socket’s associated protocol.

Implementations§

Source§

impl BaseDatagramSocketRequest

Source

pub fn into_clone2( self, ) -> Option<(ServerEnd<CloneableMarker>, BaseDatagramSocketControlHandle)>

Source

pub fn into_close(self) -> Option<BaseDatagramSocketCloseResponder>

Source

pub fn into_query(self) -> Option<BaseDatagramSocketQueryResponder>

Source

pub fn into_set_reuse_address( self, ) -> Option<(bool, BaseDatagramSocketSetReuseAddressResponder)>

Source

pub fn into_get_reuse_address( self, ) -> Option<BaseDatagramSocketGetReuseAddressResponder>

Source

pub fn into_get_error(self) -> Option<BaseDatagramSocketGetErrorResponder>

Source

pub fn into_set_broadcast( self, ) -> Option<(bool, BaseDatagramSocketSetBroadcastResponder)>

Source

pub fn into_get_broadcast( self, ) -> Option<BaseDatagramSocketGetBroadcastResponder>

Source

pub fn into_set_send_buffer( self, ) -> Option<(u64, BaseDatagramSocketSetSendBufferResponder)>

Source

pub fn into_get_send_buffer( self, ) -> Option<BaseDatagramSocketGetSendBufferResponder>

Source

pub fn into_set_receive_buffer( self, ) -> Option<(u64, BaseDatagramSocketSetReceiveBufferResponder)>

Source

pub fn into_get_receive_buffer( self, ) -> Option<BaseDatagramSocketGetReceiveBufferResponder>

Source

pub fn into_set_keep_alive( self, ) -> Option<(bool, BaseDatagramSocketSetKeepAliveResponder)>

Source

pub fn into_get_keep_alive( self, ) -> Option<BaseDatagramSocketGetKeepAliveResponder>

Source

pub fn into_set_out_of_band_inline( self, ) -> Option<(bool, BaseDatagramSocketSetOutOfBandInlineResponder)>

Source

pub fn into_get_out_of_band_inline( self, ) -> Option<BaseDatagramSocketGetOutOfBandInlineResponder>

Source

pub fn into_set_no_check( self, ) -> Option<(bool, BaseDatagramSocketSetNoCheckResponder)>

Source

pub fn into_get_no_check(self) -> Option<BaseDatagramSocketGetNoCheckResponder>

Source

pub fn into_set_linger( self, ) -> Option<(bool, u32, BaseDatagramSocketSetLingerResponder)>

Source

pub fn into_get_linger(self) -> Option<BaseDatagramSocketGetLingerResponder>

Source

pub fn into_set_reuse_port( self, ) -> Option<(bool, BaseDatagramSocketSetReusePortResponder)>

Source

pub fn into_get_reuse_port( self, ) -> Option<BaseDatagramSocketGetReusePortResponder>

Source

pub fn into_get_accept_conn( self, ) -> Option<BaseDatagramSocketGetAcceptConnResponder>

Source

pub fn into_set_bind_to_device( self, ) -> Option<(String, BaseDatagramSocketSetBindToDeviceResponder)>

Source

pub fn into_get_bind_to_device( self, ) -> Option<BaseDatagramSocketGetBindToDeviceResponder>

Source

pub fn into_set_bind_to_interface_index( self, ) -> Option<(u64, BaseDatagramSocketSetBindToInterfaceIndexResponder)>

Source

pub fn into_get_bind_to_interface_index( self, ) -> Option<BaseDatagramSocketGetBindToInterfaceIndexResponder>

Source

pub fn into_set_timestamp( self, ) -> Option<(TimestampOption, BaseDatagramSocketSetTimestampResponder)>

Source

pub fn into_get_timestamp( self, ) -> Option<BaseDatagramSocketGetTimestampResponder>

Source

pub fn into_set_mark( self, ) -> Option<(MarkDomain, OptionalUint32, BaseDatagramSocketSetMarkResponder)>

Source

pub fn into_get_mark( self, ) -> Option<(MarkDomain, BaseDatagramSocketGetMarkResponder)>

Source

pub fn into_bind( self, ) -> Option<(SocketAddress, BaseDatagramSocketBindResponder)>

Source

pub fn into_connect( self, ) -> Option<(SocketAddress, BaseDatagramSocketConnectResponder)>

Source

pub fn into_disconnect(self) -> Option<BaseDatagramSocketDisconnectResponder>

Source

pub fn into_get_sock_name( self, ) -> Option<BaseDatagramSocketGetSockNameResponder>

Source

pub fn into_get_peer_name( self, ) -> Option<BaseDatagramSocketGetPeerNameResponder>

Source

pub fn into_shutdown( self, ) -> Option<(ShutdownMode, BaseDatagramSocketShutdownResponder)>

Source

pub fn into_set_ip_type_of_service( self, ) -> Option<(u8, BaseDatagramSocketSetIpTypeOfServiceResponder)>

Source

pub fn into_get_ip_type_of_service( self, ) -> Option<BaseDatagramSocketGetIpTypeOfServiceResponder>

Source

pub fn into_set_ip_ttl( self, ) -> Option<(OptionalUint8, BaseDatagramSocketSetIpTtlResponder)>

Source

pub fn into_get_ip_ttl(self) -> Option<BaseDatagramSocketGetIpTtlResponder>

Source

pub fn into_set_ip_packet_info( self, ) -> Option<(bool, BaseDatagramSocketSetIpPacketInfoResponder)>

Source

pub fn into_get_ip_packet_info( self, ) -> Option<BaseDatagramSocketGetIpPacketInfoResponder>

Source

pub fn into_set_ip_receive_type_of_service( self, ) -> Option<(bool, BaseDatagramSocketSetIpReceiveTypeOfServiceResponder)>

Source

pub fn into_get_ip_receive_type_of_service( self, ) -> Option<BaseDatagramSocketGetIpReceiveTypeOfServiceResponder>

Source

pub fn into_set_ip_receive_ttl( self, ) -> Option<(bool, BaseDatagramSocketSetIpReceiveTtlResponder)>

Source

pub fn into_get_ip_receive_ttl( self, ) -> Option<BaseDatagramSocketGetIpReceiveTtlResponder>

Source

pub fn into_set_ip_multicast_interface( self, ) -> Option<(u64, Ipv4Address, BaseDatagramSocketSetIpMulticastInterfaceResponder)>

Source

pub fn into_get_ip_multicast_interface( self, ) -> Option<BaseDatagramSocketGetIpMulticastInterfaceResponder>

Source

pub fn into_set_ip_multicast_ttl( self, ) -> Option<(OptionalUint8, BaseDatagramSocketSetIpMulticastTtlResponder)>

Source

pub fn into_get_ip_multicast_ttl( self, ) -> Option<BaseDatagramSocketGetIpMulticastTtlResponder>

Source

pub fn into_set_ip_multicast_loopback( self, ) -> Option<(bool, BaseDatagramSocketSetIpMulticastLoopbackResponder)>

Source

pub fn into_get_ip_multicast_loopback( self, ) -> Option<BaseDatagramSocketGetIpMulticastLoopbackResponder>

Source

pub fn into_add_ip_membership( self, ) -> Option<(IpMulticastMembership, BaseDatagramSocketAddIpMembershipResponder)>

Source

pub fn into_drop_ip_membership( self, ) -> Option<(IpMulticastMembership, BaseDatagramSocketDropIpMembershipResponder)>

Source

pub fn into_set_ip_transparent( self, ) -> Option<(bool, BaseDatagramSocketSetIpTransparentResponder)>

Source

pub fn into_get_ip_transparent( self, ) -> Option<BaseDatagramSocketGetIpTransparentResponder>

Source

pub fn into_set_ip_receive_original_destination_address( self, ) -> Option<(bool, BaseDatagramSocketSetIpReceiveOriginalDestinationAddressResponder)>

Source

pub fn into_get_ip_receive_original_destination_address( self, ) -> Option<BaseDatagramSocketGetIpReceiveOriginalDestinationAddressResponder>

Source

pub fn into_add_ipv6_membership( self, ) -> Option<(Ipv6MulticastMembership, BaseDatagramSocketAddIpv6MembershipResponder)>

Source

pub fn into_drop_ipv6_membership( self, ) -> Option<(Ipv6MulticastMembership, BaseDatagramSocketDropIpv6MembershipResponder)>

Source

pub fn into_set_ipv6_multicast_interface( self, ) -> Option<(u64, BaseDatagramSocketSetIpv6MulticastInterfaceResponder)>

Source

pub fn into_get_ipv6_multicast_interface( self, ) -> Option<BaseDatagramSocketGetIpv6MulticastInterfaceResponder>

Source

pub fn into_set_ipv6_unicast_hops( self, ) -> Option<(OptionalUint8, BaseDatagramSocketSetIpv6UnicastHopsResponder)>

Source

pub fn into_get_ipv6_unicast_hops( self, ) -> Option<BaseDatagramSocketGetIpv6UnicastHopsResponder>

Source

pub fn into_set_ipv6_receive_hop_limit( self, ) -> Option<(bool, BaseDatagramSocketSetIpv6ReceiveHopLimitResponder)>

Source

pub fn into_get_ipv6_receive_hop_limit( self, ) -> Option<BaseDatagramSocketGetIpv6ReceiveHopLimitResponder>

Source

pub fn into_set_ipv6_multicast_hops( self, ) -> Option<(OptionalUint8, BaseDatagramSocketSetIpv6MulticastHopsResponder)>

Source

pub fn into_get_ipv6_multicast_hops( self, ) -> Option<BaseDatagramSocketGetIpv6MulticastHopsResponder>

Source

pub fn into_set_ipv6_multicast_loopback( self, ) -> Option<(bool, BaseDatagramSocketSetIpv6MulticastLoopbackResponder)>

Source

pub fn into_get_ipv6_multicast_loopback( self, ) -> Option<BaseDatagramSocketGetIpv6MulticastLoopbackResponder>

Source

pub fn into_set_ipv6_only( self, ) -> Option<(bool, BaseDatagramSocketSetIpv6OnlyResponder)>

Source

pub fn into_get_ipv6_only( self, ) -> Option<BaseDatagramSocketGetIpv6OnlyResponder>

Source

pub fn into_set_ipv6_receive_traffic_class( self, ) -> Option<(bool, BaseDatagramSocketSetIpv6ReceiveTrafficClassResponder)>

Source

pub fn into_get_ipv6_receive_traffic_class( self, ) -> Option<BaseDatagramSocketGetIpv6ReceiveTrafficClassResponder>

Source

pub fn into_set_ipv6_traffic_class( self, ) -> Option<(OptionalUint8, BaseDatagramSocketSetIpv6TrafficClassResponder)>

Source

pub fn into_get_ipv6_traffic_class( self, ) -> Option<BaseDatagramSocketGetIpv6TrafficClassResponder>

Source

pub fn into_set_ipv6_receive_packet_info( self, ) -> Option<(bool, BaseDatagramSocketSetIpv6ReceivePacketInfoResponder)>

Source

pub fn into_get_ipv6_receive_packet_info( self, ) -> Option<BaseDatagramSocketGetIpv6ReceivePacketInfoResponder>

Source

pub fn into_get_original_destination( self, ) -> Option<BaseDatagramSocketGetOriginalDestinationResponder>

Source

pub fn into_get_info(self) -> Option<BaseDatagramSocketGetInfoResponder>

Source

pub fn method_name(&self) -> &'static str

Name of the method defined in FIDL

Trait Implementations§

Source§

impl Debug for BaseDatagramSocketRequest

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
§

impl<T, D> Encode<Ambiguous1, D> for T
where D: ResourceDialect,

§

unsafe fn encode( self, _encoder: &mut Encoder<'_, D>, _offset: usize, _depth: Depth, ) -> Result<(), Error>

Encodes the object into the encoder’s buffers. Any handles stored in the object are swapped for Handle::INVALID. Read more
§

impl<T, D> Encode<Ambiguous2, D> for T
where D: ResourceDialect,

§

unsafe fn encode( self, _encoder: &mut Encoder<'_, D>, _offset: usize, _depth: Depth, ) -> Result<(), Error>

Encodes the object into the encoder’s buffers. Any handles stored in the object are swapped for Handle::INVALID. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

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 T
where U: From<T>,

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 = _

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, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.
Source§

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

Source§

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

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.
§

impl<T> WithSubscriber for T

§

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
§

fn with_current_subscriber(self) -> WithDispatch<Self>

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