A thread's capability set.
struct CapSet {
/* private fields */
}| Name | Description |
|---|---|
| new | Returns an empty set. |
| Receiver | Name | Description |
|---|---|---|
&self | has_effective | Returns whether the set contains an effective capability. |
&self | has_inheritable | Returns whether the set contains an inheritable capability. |
&self | has_permitted | Returns whether the set contains a permitted capability. |
&mut self | set_effective | Sets whether the set contains an effective capability. |
&mut self | set_inheritable | Sets whether the set contains an inheritable capability. |
&mut self | set_permitted | Sets whether the set contains a permitted capability. |
| Name | Description |
|---|---|
| Clone | Objects that can be duplicated. |
| Copy | Objects that can safely be copied via |
| Debug | Objects that can be formatted in a "debug" form. |
| Eq | Objects that implement the binary |
| MaybeClone | Objects that can be duplicated. |
| Pod | Objects that are safe to use if they contain a random bit pattern. |