pub enum LinuxLaunchMode {
XdgAutostart,
SystemdUser,
SystemdSystem,
}Expand description
Determines how the auto launch is enabled on Linux.
Variants§
XdgAutostart
Use XDG Autostart (.desktop file in ~/.config/autostart/)
SystemdUser
Use systemd user service (~/.config/systemd/user/)
SystemdSystem
Use systemd system service (/etc/systemd/system/)
Implementations§
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LinuxLaunchMode
Source§impl Debug for LinuxLaunchMode
impl Debug for LinuxLaunchMode
Source§impl Default for LinuxLaunchMode
impl Default for LinuxLaunchMode
Source§fn default() -> LinuxLaunchMode
fn default() -> LinuxLaunchMode
Returns the “default value” for a type. Read more
impl Eq for LinuxLaunchMode
Source§impl PartialEq for LinuxLaunchMode
impl PartialEq 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 UnsafeUnpin 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