[][src]Function capctl::caps::ambient::is_set

pub fn is_set(cap: Cap) -> Option<bool>

Check whether the given capability is raised in the current thread's ambient capability set.

This returns Some(true) if the given capability is raised, Some(false) if it is lowered, and None if it is not supported.