pub enum Helper {
SelfExe,
Path(PathBuf),
}Expand description
Which executable acts as the detached helper when one is required.
Variants§
SelfExe
Re-launch the current executable (default). Requires that the code
runs from an .exe, not from a DLL loaded into a foreign host.
Path(PathBuf)
Launch another executable that links this crate (for example the
terminator CLI). It must handle the helper marker before main,
which every binary linking this crate does automatically.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Helper
impl Freeze for Helper
impl Move for Helper
impl RefUnwindSafe for Helper
impl Send for Helper
impl Sync for Helper
impl Unpin for Helper
impl UnsafeUnpin for Helper
impl UnwindSafe for Helper
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