pub struct Tap { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Arbitrary for Tap
impl Arbitrary for Tap
Source§type Parameters = (<String as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<Vec<String>> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<ScriptOrNot> as Arbitrary>::Parameters, <Option<ScriptOrNot> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<usize> as Arbitrary>::Parameters, (<Option<OnOff> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<usize> as Arbitrary>::Parameters, <Option<usize> as Arbitrary>::Parameters))
type Parameters = (<String as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<Vec<String>> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<ScriptOrNot> as Arbitrary>::Parameters, <Option<ScriptOrNot> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<usize> as Arbitrary>::Parameters, (<Option<OnOff> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<usize> as Arbitrary>::Parameters, <Option<usize> as Arbitrary>::Parameters))
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = Map<(<String as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<Vec<String>> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<ScriptOrNot> as Arbitrary>::Strategy, <Option<ScriptOrNot> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<usize> as Arbitrary>::Strategy, (<Option<OnOff> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<usize> as Arbitrary>::Strategy, <Option<usize> as Arbitrary>::Strategy)), fn((String, Option<String>, Option<Vec<String>>, Option<String>, Option<ScriptOrNot>, Option<ScriptOrNot>, Option<String>, Option<String>, Option<usize>, (Option<OnOff>, Option<OnOff>, Option<String>, Option<OnOff>, Option<usize>, Option<usize>))) -> Tap>
type Strategy = Map<(<String as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<Vec<String>> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<ScriptOrNot> as Arbitrary>::Strategy, <Option<ScriptOrNot> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<usize> as Arbitrary>::Strategy, (<Option<OnOff> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<usize> as Arbitrary>::Strategy, <Option<usize> as Arbitrary>::Strategy)), fn((String, Option<String>, Option<Vec<String>>, Option<String>, Option<ScriptOrNot>, Option<ScriptOrNot>, Option<String>, Option<String>, Option<usize>, (Option<OnOff>, Option<OnOff>, Option<String>, Option<OnOff>, Option<usize>, Option<usize>))) -> Tap>
The type of
Strategy used to generate values of type Self.Source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
Source§impl Ord for Tap
impl Ord for Tap
Source§impl PartialOrd for Tap
impl PartialOrd for Tap
Source§impl ToCommand for Tap
impl ToCommand for Tap
Source§fn to_args(&self) -> Vec<String>
fn to_args(&self) -> Vec<String>
Convert to a type suitable to pass to
std::process::Command::args()fn has_args(&self) -> bool
Source§fn command(&self) -> String
fn command(&self) -> String
Convert to a type suitable to pass to
std::process::Command::new()Source§fn to_command(&self) -> Vec<String>
fn to_command(&self) -> Vec<String>
Construct the full command in keep in pieces
Source§fn to_single_command(&self) -> String
fn to_single_command(&self) -> String
Construct the full command as a single
StringSource§fn to_single_arg(&self) -> String
fn to_single_arg(&self) -> String
Construct only the args as a single
Stringimpl Eq for Tap
impl StructuralPartialEq for Tap
Auto Trait Implementations§
impl Freeze for Tap
impl RefUnwindSafe for Tap
impl Send for Tap
impl Sync for Tap
impl Unpin for Tap
impl UnsafeUnpin for Tap
impl UnwindSafe for Tap
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