1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
use super::MicroFetcher; use crate::oracles::HOSTNAME; pub struct Host; impl MicroFetcher for Host { fn get_type(&self) -> &str { "Host" } fn get_name(&self) -> &str { "host" } fn get_text(&self) -> &str { &HOSTNAME } }