/// Information about the Host. Made available as an Arc for cheap cloning
/// into, e.g. Worker and ShadowLogger. When there's no need to clone the
/// Arc, generally prefer the top-level `Host` methods for accessing this
/// information, which are likely to be more stable.
Information about the Host. Made available as an Arc for cheap cloning
into, e.g.
Information about the Host . Made available as an Arc for cheap cloning into e . g .
pub fn info(&self) -> &Arc<HostInfo> {
        self.info.get_or_init(|| {
            Arc::new(HostInfo {
                id: self.id(),
                name: self.name().into(),
                default_ip: self.default_ip(),
                log_level: self.log_level(),
            })
        })
    }
pub fn info ( & self ) -> & Arc < HostInfo > { self . info . get_or_init ( | | { Arc :: new ( HostInfo { id : self . id ( ) , name : self . name ( ) . into ( ) , default_ip : self . default_ip ( ) , log_level : self . log_level ( ) , } ) } ) }
Information about the Host.
Information about the Host .
&self