1 #[cfg(feature = "Networking_BackgroundTransfer")]
2 pub mod BackgroundTransfer
;
3 #[cfg(feature = "Networking_Connectivity")]
5 #[cfg(feature = "Networking_NetworkOperators")]
6 pub mod NetworkOperators
;
7 #[cfg(feature = "Networking_Proximity")]
9 #[cfg(feature = "Networking_PushNotifications")]
10 pub mod PushNotifications
;
11 #[cfg(feature = "Networking_ServiceDiscovery")]
12 pub mod ServiceDiscovery
;
13 #[cfg(feature = "Networking_Sockets")]
15 #[cfg(feature = "Networking_Vpn")]
17 #[cfg(feature = "Networking_XboxLive")]
19 #[doc = "*Required features: `\"Networking\"`*"]
21 pub struct DomainNameType(pub i32);
23 pub const Suffix
: Self = Self(0i32);
24 pub const FullyQualified
: Self = Self(1i32);
26 impl ::core
::marker
::Copy
for DomainNameType {}
27 impl ::core
::clone
::Clone
for DomainNameType
{
28 fn clone(&self) -> Self {
32 pub type EndpointPair
= *mut ::core
::ffi
::c_void
;
33 pub type HostName
= *mut ::core
::ffi
::c_void
;
34 #[doc = "*Required features: `\"Networking\"`*"]
36 pub struct HostNameSortOptions(pub u32);
37 impl HostNameSortOptions
{
38 pub const None
: Self = Self(0u32);
39 pub const OptimizeForLongConnections
: Self = Self(2u32);
41 impl ::core
::marker
::Copy
for HostNameSortOptions {}
42 impl ::core
::clone
::Clone
for HostNameSortOptions
{
43 fn clone(&self) -> Self {
47 #[doc = "*Required features: `\"Networking\"`*"]
49 pub struct HostNameType(pub i32);
51 pub const DomainName
: Self = Self(0i32);
52 pub const Ipv4
: Self = Self(1i32);
53 pub const Ipv6
: Self = Self(2i32);
54 pub const Bluetooth
: Self = Self(3i32);
56 impl ::core
::marker
::Copy
for HostNameType {}
57 impl ::core
::clone
::Clone
for HostNameType
{
58 fn clone(&self) -> Self {