1
2
3
4
5
6
7
8
9
10
11
12
13
//! Network helpers

/// A list of the possible ip versions
#[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub enum IpVersion {
    /// IPv4
    V4,
    /// IPv6
    V6,
}

#[cfg(windows)]
pub use crate::win::network::*;