[][src]Function jail::param::get_all

pub fn get_all(jid: i32) -> Result<HashMap<String, Value>, JailError>

Set a jail parameter given the jid, the parameter name and the value.

Examples

use jail::param;

let params = param::get_all(jid)
    .expect("could not get all parameters");

assert_eq!(params.get("allow.raw_sockets"), Some(&param::Value::Int(1)));