Enum login_cap::LoginFlags[][src]

#[repr(u32)]
pub enum LoginFlags {
    SetEnv,
    SetGroup,
    SetLogin,
    SetPath,
    SetPriority,
    SetResources,
    SetUmask,
    SetUser,
    SetAll,
}
Expand description

Login flag constants that can be bitwise OR-ed together

Variants

SetEnv

Sets environment variables set by the setenv keyword

SetGroup

Set the group ID and call initgroups(3) Requires the pwd field in setusercontext to be set

SetLogin

Sets the login name by setlogin(2) Requires the pwd field in setusercontext to be set

SetPath

Sets the PATH environment variable

SetPriority

Sets the priority by setpriority(2)

SetResources

Sets the various system resources by setrlimit(2)

SetUmask

Sets the umask by umask(2)

SetUser

Sets the user ID to uid by setuid(2)

SetAll

Sets all of the above

Trait Implementations

The resulting type after applying the | operator.

Performs the | operation. Read more

The resulting type after applying the | operator.

Performs the | operation. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.