Docs.rs
rootasrole-core-3.0.3
rootasrole-core 3.0.3
Docs.rs crate page
GPL-3.0-or-later
Links
crates.io
Source
Owners
LeChatP
Dependencies
bitflags ^2.5
normal
capctl ^0.2
normal
chrono ^0.4
normal
derivative ^2.2
normal
env_logger ^0.11
normal
glob ^0.3
normal
optional
hex ^0.4
normal
libc ^0.2
normal
linked_hash_set ^0.1
normal
log ^0.4
normal
nix ^0.29
normal
once_cell ^1.19
normal
pcre2 ^0.2
normal
optional
semver ^1.0
normal
serde ^1.0.210
normal
serde_json ^1.0.132
normal
sha2 ^0.10
normal
shell-words ^1.1
normal
strum ^0.26
normal
syslog ^7.0
normal
env_logger ^0.11
dev
log ^0.4
dev
test-log ^0.2
dev
Versions
12.75%
of the crate is documented
Go to latest version
Platform
i686-unknown-linux-gnu
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
rootasrole_
core
3.0.3
In rootasrole_
core::
util
rootasrole_core
::
util
Function
cap_effective
Copy item path
source
pub fn cap_effective(cap:
Cap
, enable:
bool
) ->
Result
<
()
,
Error
>