Enum spirit_daemonize::SecId [−][src]
Configuration of either user or a group.
This is used to load the configuration into which user and group to drop privileges.
Variants
Name(String)
Look up based on the name (in /etc/passwd
or /etc/group
).
Id(u32)
Don't look up, use this as either uid or gid directly.
Nothing
Don't drop privileges.
This is not read from configuration, but it is the default value available if nothing is listed in configuration.
Trait Implementations
impl Clone for SecId
[src]
impl Clone for SecId
fn clone(&self) -> SecId
[src]
fn clone(&self) -> SecId
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for SecId
[src]
impl Debug for SecId
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for SecId
[src]
impl Eq for SecId
impl PartialEq for SecId
[src]
impl PartialEq for SecId
fn eq(&self, other: &SecId) -> bool
[src]
fn eq(&self, other: &SecId) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SecId) -> bool
[src]
fn ne(&self, other: &SecId) -> bool
This method tests for !=
.
impl Default for SecId
[src]
impl Default for SecId