[−][src]Enum daemonize::DaemonizeError
This error type for Daemonize
start
method.
Variants
Fork
Unable to fork
DetachSession(Errno)
Unable to create new session
GroupNotFound
Unable to resolve group name to group id
GroupContainsNul
Group option contains NUL
SetGroup(Errno)
Unable to set group
UserNotFound
Unable to resolve user name to user id
UserContainsNul
User option contains NUL
SetUser(Errno)
Unable to set user
ChangeDirectory
Unable to change directory
PathContainsNul
pid_file option contains NUL
OpenPidfile
Unable to open pid file
LockPidfile(Errno)
Unable to lock pid file
ChownPidfile(Errno)
Unable to chown pid file
RedirectStreams(Errno)
Unable to redirect standard streams to /dev/null
WritePid
Unable to write self pid to pid file
Chroot(Errno)
Unable to chroot
Trait Implementations
impl PartialOrd<DaemonizeError> for DaemonizeError
[src]
fn partial_cmp(&self, other: &DaemonizeError) -> Option<Ordering>
[src]
fn lt(&self, other: &DaemonizeError) -> bool
[src]
fn le(&self, other: &DaemonizeError) -> bool
[src]
fn gt(&self, other: &DaemonizeError) -> bool
[src]
fn ge(&self, other: &DaemonizeError) -> bool
[src]
impl PartialEq<DaemonizeError> for DaemonizeError
[src]
fn eq(&self, other: &DaemonizeError) -> bool
[src]
fn ne(&self, other: &DaemonizeError) -> bool
[src]
impl Clone for DaemonizeError
[src]
fn clone(&self) -> DaemonizeError
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Ord for DaemonizeError
[src]
fn cmp(&self, other: &DaemonizeError) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
Compares and returns the minimum of two values. Read more
fn clamp(self, min: Self, max: Self) -> Self
[src]
clamp
)Returns max if self is greater than max, and min if self is less than min. Otherwise this will return self. Panics if min > max. Read more
impl Eq for DaemonizeError
[src]
impl Display for DaemonizeError
[src]
impl Debug for DaemonizeError
[src]
impl Error for DaemonizeError
[src]
fn description(&self) -> &str
[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
replaced by Error::source, which can support downcasting
The lower-level cause of this error, if any. Read more
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
The lower-level source of this error, if any. Read more
Auto Trait Implementations
impl Send for DaemonizeError
impl Sync for DaemonizeError
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,