dbus_server_address_parser/family.rs
1/// This represents a socket family for [`tcp:`] and [`nonce-tcp:`].
2///
3/// [`tcp:`]: https://dbus.freedesktop.org/doc/dbus-specification.html#transports-tcp-sockets
4/// [`nonce-tcp:`]: https://dbus.freedesktop.org/doc/dbus-specification.html#transports-nonce-tcp-sockets
5#[derive(Debug, Clone, PartialEq, Eq)]
6pub enum Family {
7 Ipv4,
8 Ipv6,
9}