Trait capabilities::Bound
[−]
[src]
pub trait Bound { fn is_bound(self) -> bool; fn drop_bound(self) -> bool; }
The bound trait checks if the capability is set for the current process.
Required Methods
fn is_bound(self) -> bool
Returns true if the Capability has been applied to the current process via a call to cap_get_bound.
fn drop_bound(self) -> bool
Drops the capability for the current process via a call to cap_drop_bound.
Implementors
impl Bound for Capability