Bound

Trait Bound 

Source
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§

Source

fn is_bound(self) -> bool

Returns true if the Capability has been applied to the current process via a call to cap_get_bound.

Source

fn drop_bound(self) -> bool

Drops the capability for the current process via a call to cap_drop_bound.

Implementors§