pub struct PrivilegeDropError;Expand description
A requested root UID/GID transition failed.
Callers must not continue startup after this error, even in best-effort mode: the process may still be root or have only partially changed its identity.
Trait Implementations§
Source§impl Debug for PrivilegeDropError
impl Debug for PrivilegeDropError
Source§impl Display for PrivilegeDropError
impl Display for PrivilegeDropError
Source§impl Error for PrivilegeDropError
impl Error for PrivilegeDropError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 PrivilegeDropError
impl RefUnwindSafe for PrivilegeDropError
impl Send for PrivilegeDropError
impl Sync for PrivilegeDropError
impl Unpin for PrivilegeDropError
impl UnsafeUnpin for PrivilegeDropError
impl UnwindSafe for PrivilegeDropError
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