[][src]Enum daemonize_me::DaemonError

pub enum DaemonError {
    Fork,
    ChDir,
    OpenDevNull,
    CloseFp,
    InvalidUser,
    InvalidGroup,
    InvalidUserGroupPair,
    InitGroups,
    SetUid,
    SetGid,
    ChownPid,
    OpenPid,
    WritePid,
    RedirectStream,
    InvalidUmaskBits,
    SetSid,
    // some variants omitted
}

Variants

Fork

Unable to fork

ChDir

Failed to chdir

OpenDevNull

Failed to open dev null

CloseFp

Failed to close the file pointer of a stdio stream

InvalidUser

Invalid or nonexistent user

InvalidGroup

Invalid or nonexistent group

InvalidUserGroupPair

Either group or user was specified but no the other

InitGroups

Failed to execute initgroups

SetUid

Failed to set uid

SetGid

Failed to set gid

ChownPid

Failed to chown the pid file

OpenPid

Failed to create the pid file

WritePid

Failed to write to the pid file

RedirectStream

Failed to redirect the standard streams

InvalidUmaskBits

Umask bits are invalid

SetSid

Failed to set sid

Trait Implementations

impl Clone for DaemonError[src]

impl Debug for DaemonError[src]

impl Display for DaemonError[src]

impl Error for DaemonError[src]

impl PartialEq<DaemonError> for DaemonError[src]

impl PartialOrd<DaemonError> for DaemonError[src]

impl StructuralPartialEq for DaemonError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.