pub struct Options {
pub disable_privdrop: bool,
pub username: Cow<'static, str>,
pub config: Config,
}Expand description
General options for the privsep setup.
Fields§
§disable_privdrop: boolThis stop requiring root and disables privdrop.
username: Cow<'static, str>The default privdrop username, if enabled.
config: ConfigThe runtime configuration.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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