hostess 0.2.6

A tool to maintain hosts
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::net::IpAddr;
use std::cmp::{PartialEq};

#[derive(Debug, PartialEq)]
pub struct Hostname {
  pub domain: Option<String>,
  pub ip: Option<IpAddr>,
  pub enabled: bool,
  pub comment: String,
  pub valid: bool,
  // TODO: ip_v6: bool
}