Enum daemonize_me::DaemonError
source · pub enum DaemonError {
Show 22 variants
UnsupportedOnOS,
Fork,
ChDir,
OpenDevNull,
CloseFp,
InvalidUser,
InvalidGroup,
InvalidUserGroupPair,
InvalidCstr,
InitGroups,
SetUid,
SetGid,
ChownPid,
OpenPid,
WritePid,
RedirectStream,
InvalidUmaskBits,
SetSid,
GetGrRecord,
GetPasswdRecord,
SetProcName,
InvalidProcName,
}
Variants§
UnsupportedOnOS
Fork
ChDir
OpenDevNull
CloseFp
InvalidUser
InvalidGroup
InvalidUserGroupPair
InvalidCstr
InitGroups
SetUid
SetGid
ChownPid
OpenPid
WritePid
RedirectStream
InvalidUmaskBits
SetSid
GetGrRecord
GetPasswdRecord
SetProcName
InvalidProcName
Trait Implementations§
source§impl Debug for DaemonError
impl Debug for DaemonError
source§impl Display for DaemonError
impl Display for DaemonError
source§impl Error for DaemonError
impl Error for DaemonError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for DaemonError
impl RefUnwindSafe for DaemonError
impl Send for DaemonError
impl Sync for DaemonError
impl Unpin for DaemonError
impl UnwindSafe for DaemonError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more