Function juju::close_port [] [src]

pub fn close_port(port: usize, transport: Transport) -> Result<i32JujuError>

This will hide a port on the unit. The transport argument will indicate whether tcp or udp should be exposed