Function juju::relation_get_by_unit [] [src]

pub fn relation_get_by_unit(key: &str, unit: &Relation) -> Result<StringJujuError>

Get relation information for a specific unit

Failures

Will return a String of the stderr if the call fails