pub enum DefinitionKind {
WindowsService,
WindowsScheduledTask,
LaunchdPlist,
SystemdUnit,
}Expand description
Which of the four things a platform reads.
Variants§
WindowsService
The parameters CreateServiceW is called with, rendered as a canonical
descriptor so that they can be reviewed and asserted like the other
three. The Service Control Manager has no file.
WindowsScheduledTask
A Task Scheduler XML document, for --start-at login on Windows.
LaunchdPlist
A launchd property list — a LaunchDaemon at boot, a LaunchAgent at login.
SystemdUnit
A systemd unit — a system unit at boot, a user unit at login.
Implementations§
Trait Implementations§
Source§impl Clone for DefinitionKind
impl Clone for DefinitionKind
Source§fn clone(&self) -> DefinitionKind
fn clone(&self) -> DefinitionKind
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 DefinitionKind
Source§impl Debug for DefinitionKind
impl Debug for DefinitionKind
Source§impl Display for DefinitionKind
impl Display for DefinitionKind
impl Eq for DefinitionKind
Source§impl PartialEq for DefinitionKind
impl PartialEq for DefinitionKind
impl StructuralPartialEq for DefinitionKind
Auto Trait Implementations§
impl Freeze for DefinitionKind
impl RefUnwindSafe for DefinitionKind
impl Send for DefinitionKind
impl Sync for DefinitionKind
impl Unpin for DefinitionKind
impl UnsafeUnpin for DefinitionKind
impl UnwindSafe for DefinitionKind
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