pub enum WindowsEnableMode {
Dynamic,
CurrentUser,
System,
}Expand description
Determines how the auto launch is enabled on Windows.
Variants§
Dynamic
Dynamically tries to enable the auto launch for the system (admin privileges required), fallbacks to the current user if there is no permission to modify the system registry.
CurrentUser
Enables the auto launch for the current user only. Does not require admin permissions.
System
Enables the auto launch for all users. Requires admin permissions.
Trait Implementations§
Source§impl Clone for WindowsEnableMode
impl Clone for WindowsEnableMode
Source§fn clone(&self) -> WindowsEnableMode
fn clone(&self) -> WindowsEnableMode
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 WindowsEnableMode
impl Debug for WindowsEnableMode
Source§impl Default for WindowsEnableMode
impl Default for WindowsEnableMode
Source§impl PartialEq for WindowsEnableMode
impl PartialEq for WindowsEnableMode
impl Copy for WindowsEnableMode
impl Eq for WindowsEnableMode
impl StructuralPartialEq for WindowsEnableMode
Auto Trait Implementations§
impl Freeze for WindowsEnableMode
impl RefUnwindSafe for WindowsEnableMode
impl Send for WindowsEnableMode
impl Sync for WindowsEnableMode
impl Unpin for WindowsEnableMode
impl UnwindSafe for WindowsEnableMode
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