Function juju::close_port [] [src]

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

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

Failures

Will return a String of the stderr if the call fails