pub struct FakerootOptions {
pub library: Option<PathBuf>,
pub faked: Option<PathBuf>,
pub save_file: Option<PathBuf>,
pub load_file: Option<PathBuf>,
pub unknown_is_real: bool,
pub fd: Option<usize>,
}
Expand description
Options for fakeroot.
Fields§
§library: Option<PathBuf>
An alternative wrapper library.
Corresponds to fakeroot
’s -l
/--lib
option.
faked: Option<PathBuf>
An alternative binary to use as faked
.
Corresponds to fakeroot
’s --faked
option.
save_file: Option<PathBuf>
A file to save the environment to.
Corresponds to fakeroot
’s -s
option.
load_file: Option<PathBuf>
A file to load a previous environment from.
Corresponds to fakeroot
’s -i
option.
unknown_is_real: bool
Whether to use the real ownership of files.
Corresponds to fakeroot
’s -u
/--unknown-is-real
option.
fd: Option<usize>
The minimum file descriptor number for TCP connections.
Corresponds to fakeroot
’s -b
option.
Trait Implementations§
Source§impl Clone for FakerootOptions
impl Clone for FakerootOptions
Source§fn clone(&self) -> FakerootOptions
fn clone(&self) -> FakerootOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FakerootOptions
impl Debug for FakerootOptions
Source§impl Default for FakerootOptions
impl Default for FakerootOptions
Source§fn default() -> FakerootOptions
fn default() -> FakerootOptions
Returns the “default value” for a type. Read more
Source§impl Display for FakerootOptions
impl Display for FakerootOptions
Source§impl PartialEq for FakerootOptions
impl PartialEq for FakerootOptions
Source§impl RootlessBackend<FakerootOptions> for FakerootBackend
impl RootlessBackend<FakerootOptions> for FakerootBackend
Source§fn new(options: FakerootOptions) -> Self
fn new(options: FakerootOptions) -> Self
Creates a new FakerootBackend
.
Source§fn options(&self) -> &FakerootOptions
fn options(&self) -> &FakerootOptions
Returns the FakerootOptions
used by the FakerootBackend
.
Source§impl RootlessOptions for FakerootOptions
impl RootlessOptions for FakerootOptions
impl Eq for FakerootOptions
impl StructuralPartialEq for FakerootOptions
Auto Trait Implementations§
impl Freeze for FakerootOptions
impl RefUnwindSafe for FakerootOptions
impl Send for FakerootOptions
impl Sync for FakerootOptions
impl Unpin for FakerootOptions
impl UnwindSafe for FakerootOptions
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