pub struct SignalChildCommandBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> SignalChildCommandBuilder<S>
impl<S: State> SignalChildCommandBuilder<S>
Sourcepub fn build(self) -> SignalChildCommandwhere
S: IsComplete,
pub fn build(self) -> SignalChildCommandwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn signals(
self,
value: Vec<i32>,
) -> SignalChildCommandBuilder<SetSignals<S>>where
S::Signals: IsUnset,
pub fn signals(
self,
value: Vec<i32>,
) -> SignalChildCommandBuilder<SetSignals<S>>where
S::Signals: IsUnset,
Required.
Sourcepub fn match_spec(
self,
value: String,
) -> SignalChildCommandBuilder<SetMatchSpec<S>>where
S::MatchSpec: IsUnset,
pub fn match_spec(
self,
value: String,
) -> SignalChildCommandBuilder<SetMatchSpec<S>>where
S::MatchSpec: IsUnset,
Sourcepub fn maybe_match_spec(
self,
value: Option<String>,
) -> SignalChildCommandBuilder<SetMatchSpec<S>>where
S::MatchSpec: IsUnset,
pub fn maybe_match_spec(
self,
value: Option<String>,
) -> SignalChildCommandBuilder<SetMatchSpec<S>>where
S::MatchSpec: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for SignalChildCommandBuilder<S>
impl<S> RefUnwindSafe for SignalChildCommandBuilder<S>
impl<S> Send for SignalChildCommandBuilder<S>
impl<S> Sync for SignalChildCommandBuilder<S>
impl<S> Unpin for SignalChildCommandBuilder<S>
impl<S> UnwindSafe for SignalChildCommandBuilder<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