Struct lrs::thread::CapSet

A thread's capability set.

Syntax

struct CapSet {
    /* private fields */
}

Static methods

NameDescription
new

Returns an empty set.

Methods

ReceiverNameDescription
&selfhas_effective

Returns whether the set contains an effective capability.

&selfhas_inheritable

Returns whether the set contains an inheritable capability.

&selfhas_permitted

Returns whether the set contains a permitted capability.

&mut selfset_effective

Sets whether the set contains an effective capability.

&mut selfset_inheritable

Sets whether the set contains an inheritable capability.

&mut selfset_permitted

Sets whether the set contains a permitted capability.

Trait implementations

NameDescription
Clone

Objects that can be duplicated.

Copy

Objects that can safely be copied via memcpy.

Debug

Objects that can be formatted in a "debug" form.

Eq

Objects that implement the binary == and != operators.

MaybeClone

Objects that can be duplicated.

Pod

Objects that are safe to use if they contain a random bit pattern.