pub struct ShellInjectorBuilder<S: State = Empty> { /* private fields */ }Available on crate feature
hook only.Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> ShellInjectorBuilder<S>
impl<S: State> ShellInjectorBuilder<S>
Sourcepub fn build(self) -> Result<ShellInjector>where
S: IsComplete,
pub fn build(self) -> Result<ShellInjector>where
S: IsComplete,
Finishes building and performs the requested action.
Sourcepub fn dll_path(self, value: PathBuf) -> ShellInjectorBuilder<SetDllPath<S>>where
S::DllPath: IsUnset,
pub fn dll_path(self, value: PathBuf) -> ShellInjectorBuilder<SetDllPath<S>>where
S::DllPath: IsUnset,
Required.
Sourcepub fn config(self, value: HookConfig) -> ShellInjectorBuilder<SetConfig<S>>where
S::Config: IsUnset,
pub fn config(self, value: HookConfig) -> ShellInjectorBuilder<SetConfig<S>>where
S::Config: IsUnset,
Sourcepub fn maybe_config(
self,
value: Option<HookConfig>,
) -> ShellInjectorBuilder<SetConfig<S>>where
S::Config: IsUnset,
pub fn maybe_config(
self,
value: Option<HookConfig>,
) -> ShellInjectorBuilder<SetConfig<S>>where
S::Config: IsUnset,
Sourcepub fn apps(self, value: Vec<ShellApp>) -> ShellInjectorBuilder<SetApps<S>>where
S::Apps: IsUnset,
pub fn apps(self, value: Vec<ShellApp>) -> ShellInjectorBuilder<SetApps<S>>where
S::Apps: IsUnset,
Required.
Auto Trait Implementations§
impl<S> Freeze for ShellInjectorBuilder<S>
impl<S> RefUnwindSafe for ShellInjectorBuilder<S>
impl<S> Send for ShellInjectorBuilder<S>
impl<S> Sync for ShellInjectorBuilder<S>
impl<S> Unpin for ShellInjectorBuilder<S>
impl<S> UnsafeUnpin for ShellInjectorBuilder<S>
impl<S> UnwindSafe for ShellInjectorBuilder<S>
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