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 (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
impl Eq for LinuxLaunchMode
Source§impl PartialEq for LinuxLaunchMode
impl PartialEq for LinuxLaunchMode
Source§fn eq(&self, other: &LinuxLaunchMode) -> bool
fn eq(&self, other: &LinuxLaunchMode) -> bool
Tests for
self and other values to be equal, and is used by ==.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