pub struct Asking<'a> {
pub user: Option<&'a str>,
pub elevation: Elevation,
pub ovftool_dir: Option<&'a Path>,
pub path: Option<&'a OsStr>,
}Expand description
How needs asks and plans: who an install is for, how its root steps are elevated, and
where the OVF Tool is looked for.
Fields§
§user: Option<&'a str>The account an install is for (Linux joins it to the groups a tool’s devices need).
elevation: ElevationHow a root step is elevated (Linux).
ovftool_dir: Option<&'a Path>The caller’s own folder of the OVF Tool (crate::tools::ovftool::place), if it keeps
one.
path: Option<&'a OsStr>The PATH the OVF Tool is looked for on.
Trait Implementations§
impl<'a> Copy for Asking<'a>
Auto Trait Implementations§
impl<'a> Forget for Asking<'a>
impl<'a> Freeze for Asking<'a>
impl<'a> Move for Asking<'a>
impl<'a> RefUnwindSafe for Asking<'a>
impl<'a> Send for Asking<'a>
impl<'a> Sync for Asking<'a>
impl<'a> Unpin for Asking<'a>
impl<'a> UnsafeUnpin for Asking<'a>
impl<'a> UnwindSafe for Asking<'a>
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