pub trait Bound {
// Required methods
fn is_bound(self) -> bool;
fn drop_bound(self) -> bool;
}Expand description
The bound trait checks if the capability is set for the current process.
Required Methods§
Sourcefn is_bound(self) -> bool
fn is_bound(self) -> bool
Returns true if the Capability has been applied to the current process via a call to cap_get_bound.
Sourcefn drop_bound(self) -> bool
fn drop_bound(self) -> bool
Drops the capability for the current process via a call to cap_drop_bound.