pub struct DllInjectionVecInjectWithProcessNameBuilder<'f1, 'f2, 'f3, 'f4, D: DllApp, I1, S: State = Empty>{ /* private fields */ }Available on crate feature
inject-dll only.Expand description
Use builder syntax to set the inputs and finish with call().
Implementations§
Source§impl<'f1, 'f2, 'f3, 'f4, D: DllApp, I1, S: State> DllInjectionVecInjectWithProcessNameBuilder<'f1, 'f2, 'f3, 'f4, D, I1, S>
impl<'f1, 'f2, 'f3, 'f4, D: DllApp, I1, S: State> DllInjectionVecInjectWithProcessNameBuilder<'f1, 'f2, 'f3, 'f4, D, I1, S>
Sourcepub fn call(self) -> Result<&'f1 mut DllInjectionVec<D>, InjectError>where
S: IsComplete,
pub fn call(self) -> Result<&'f1 mut DllInjectionVec<D>, InjectError>where
S: IsComplete,
Finishes building and performs the requested action.
Sourcepub fn dll_path(
self,
value: &'f3 Path,
) -> DllInjectionVecInjectWithProcessNameBuilder<'f1, 'f2, 'f3, 'f4, D, I1, SetDllPath<S>>where
S::DllPath: IsUnset,
pub fn dll_path(
self,
value: &'f3 Path,
) -> DllInjectionVecInjectWithProcessNameBuilder<'f1, 'f2, 'f3, 'f4, D, I1, SetDllPath<S>>where
S::DllPath: IsUnset,
Required.
Path to the DLL
Sourcepub fn apply(
self,
value: &'f4 D::Input,
) -> DllInjectionVecInjectWithProcessNameBuilder<'f1, 'f2, 'f3, 'f4, D, I1, SetApply<S>>where
S::Apply: IsUnset,
pub fn apply(
self,
value: &'f4 D::Input,
) -> DllInjectionVecInjectWithProcessNameBuilder<'f1, 'f2, 'f3, 'f4, D, I1, SetApply<S>>where
S::Apply: IsUnset,
Sourcepub fn maybe_apply(
self,
value: Option<&'f4 D::Input>,
) -> DllInjectionVecInjectWithProcessNameBuilder<'f1, 'f2, 'f3, 'f4, D, I1, SetApply<S>>where
S::Apply: IsUnset,
pub fn maybe_apply(
self,
value: Option<&'f4 D::Input>,
) -> DllInjectionVecInjectWithProcessNameBuilder<'f1, 'f2, 'f3, 'f4, D, I1, SetApply<S>>where
S::Apply: IsUnset,
Sourcepub fn on_error(
self,
value: I1,
) -> DllInjectionVecInjectWithProcessNameBuilder<'f1, 'f2, 'f3, 'f4, D, I1, SetOnError<S>>where
S::OnError: IsUnset,
pub fn on_error(
self,
value: I1,
) -> DllInjectionVecInjectWithProcessNameBuilder<'f1, 'f2, 'f3, 'f4, D, I1, SetOnError<S>>where
S::OnError: IsUnset,
Sourcepub fn maybe_on_error(
self,
value: Option<I1>,
) -> DllInjectionVecInjectWithProcessNameBuilder<'f1, 'f2, 'f3, 'f4, D, I1, SetOnError<S>>where
S::OnError: IsUnset,
pub fn maybe_on_error(
self,
value: Option<I1>,
) -> DllInjectionVecInjectWithProcessNameBuilder<'f1, 'f2, 'f3, 'f4, D, I1, SetOnError<S>>where
S::OnError: IsUnset,
Auto Trait Implementations§
impl<'f1, 'f2, 'f3, 'f4, D, I1, S> Freeze for DllInjectionVecInjectWithProcessNameBuilder<'f1, 'f2, 'f3, 'f4, D, I1, S>where
I1: Freeze,
impl<'f1, 'f2, 'f3, 'f4, D, I1, S = Empty> !RefUnwindSafe for DllInjectionVecInjectWithProcessNameBuilder<'f1, 'f2, 'f3, 'f4, D, I1, S>
impl<'f1, 'f2, 'f3, 'f4, D, I1, S> Send for DllInjectionVecInjectWithProcessNameBuilder<'f1, 'f2, 'f3, 'f4, D, I1, S>
impl<'f1, 'f2, 'f3, 'f4, D, I1, S = Empty> !Sync for DllInjectionVecInjectWithProcessNameBuilder<'f1, 'f2, 'f3, 'f4, D, I1, S>
impl<'f1, 'f2, 'f3, 'f4, D, I1, S> Unpin for DllInjectionVecInjectWithProcessNameBuilder<'f1, 'f2, 'f3, 'f4, D, I1, S>where
I1: Unpin,
impl<'f1, 'f2, 'f3, 'f4, D, I1, S> UnsafeUnpin for DllInjectionVecInjectWithProcessNameBuilder<'f1, 'f2, 'f3, 'f4, D, I1, S>where
I1: UnsafeUnpin,
impl<'f1, 'f2, 'f3, 'f4, D, I1, S = Empty> !UnwindSafe for DllInjectionVecInjectWithProcessNameBuilder<'f1, 'f2, 'f3, 'f4, D, I1, 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