pub enum Mode {
User,
System,
}Expand description
Whether to install system wide or for the current user only
Variants§
User
install for the current user, does not require running the installation as superuser/admin
System
install to the entire system, the installation/removal must be ran as
superuser/admin or it will return
[InstallError::NeedRootForSysInstall] or PrepareRemoveError::NeedRoot
Trait Implementations§
impl Copy for Mode
Auto Trait Implementations§
impl Freeze for Mode
impl RefUnwindSafe for Mode
impl Send for Mode
impl Sync for Mode
impl Unpin for Mode
impl UnwindSafe for Mode
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