Enum daemonize::DaemonizeError [] [src]

pub enum DaemonizeError {
    Fork,
    DetachSession(Errno),
    GroupNotFound,
    GroupContainsNul,
    SetGroup(Errno),
    UserNotFound,
    UserContainsNul,
    SetUser(Errno),
    ChangeDirectory,
    PathContainsNul,
    OpenPidfile,
    LockPidfile(Errno),
    ChownPidfile(Errno),
    RedirectStreams(Errno),
    WritePid,
    // some variants omitted
}

This error type for Daemonize start method.

Variants

Unable to fork

Unable to create new session

Unable to resolve group name to group id

Group option contains NUL

Unable to set group

Unable to resolve user name to user id

User option contains NUL

Unable to set user

Unable to change directory

pid_file option contains NUL

Unable to open pid file

Unable to lock pid file

Unable to chown pid file

Unable to redirect standard streams to /dev/null

Unable to write self pid to pid file

Trait Implementations

impl Debug for DaemonizeError
[src]

Formats the value using the given formatter.

impl PartialEq for DaemonizeError
[src]

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

This method tests for !=.

impl Eq for DaemonizeError
[src]

impl PartialOrd for DaemonizeError
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for DaemonizeError
[src]

This method returns an Ordering between self and other. Read more

impl Clone for DaemonizeError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Display for DaemonizeError
[src]

Formats the value using the given formatter. Read more

impl Error for DaemonizeError
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more