[][src]Function jail::param::get

pub fn get(jid: i32, name: &str) -> Result<Value, JailError>

Get a jail parameter given the jid and the parameter name.

Examples

use jail::param;

let hostuuid = param::get(jid, "host.hostuuid")
    .expect("could not get parameter");

println!("{:?}", hostuuid);