Method lrs::thread::CapSet::has_permitted

Returns whether the set contains a permitted capability.

Syntax

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

Arguments

NameDescription
cap

The capability to check.