pub enum LinuxLaunchMode {
XdgAutostart,
Systemd,
}Expand description
Determines how the auto launch is enabled on Linux.
Variants§
XdgAutostart
Use XDG Autostart (.desktop file in ~/.config/autostart/)
Systemd
Use systemd user service (~/.config/systemd/user/)
Trait Implementations§
Source§impl Clone for LinuxLaunchMode
impl Clone for LinuxLaunchMode
Source§fn clone(&self) -> LinuxLaunchMode
fn clone(&self) -> LinuxLaunchMode
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 LinuxLaunchMode
impl Debug for LinuxLaunchMode
Source§impl Default for LinuxLaunchMode
impl Default for LinuxLaunchMode
Source§impl PartialEq for LinuxLaunchMode
impl PartialEq for LinuxLaunchMode
impl Copy for LinuxLaunchMode
impl Eq for LinuxLaunchMode
impl StructuralPartialEq for LinuxLaunchMode
Auto Trait Implementations§
impl Freeze for LinuxLaunchMode
impl RefUnwindSafe for LinuxLaunchMode
impl Send for LinuxLaunchMode
impl Sync for LinuxLaunchMode
impl Unpin for LinuxLaunchMode
impl UnwindSafe for LinuxLaunchMode
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