Method lrs::thread::CapSet::set_effective

Sets whether the set contains an effective capability.

Syntax

impl CapSet {
    fn set_effective(&mut self, cap: Capability, has: bool) -> ()
}

Arguments

NameDescription
cap

The capability to modify.

has

Whether the set contains the capability.