#[non_exhaustive]pub enum Launcher {
Systemd,
Launchd,
WindowsService,
ContainerInit,
Init,
Terminal,
Ssh,
Cron,
Unknown,
}Expand description
What started this program.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Systemd
systemd.
Launchd
launchd.
WindowsService
The Windows service control manager.
ContainerInit
This program is the init process of a container.
Init
This program is the init process of the machine.
Terminal
A terminal.
Ssh
An SSH session.
Cron
cron.
Unknown
None of these.
Trait Implementations§
impl Copy for Launcher
impl Eq for Launcher
impl StructuralPartialEq for Launcher
Auto Trait Implementations§
impl Forget for Launcher
impl Freeze for Launcher
impl Move for Launcher
impl RefUnwindSafe for Launcher
impl Send for Launcher
impl Sync for Launcher
impl Unpin for Launcher
impl UnsafeUnpin for Launcher
impl UnwindSafe for Launcher
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