pub struct Icount { /* private fields */ }Expand description
A QEMU -icount definition.
Implementations§
Trait Implementations§
Source§impl Arbitrary for Icount
impl Arbitrary for Icount
Source§type Parameters = (<Option<Shift> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<RecordReplay> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters)
type Parameters = (<Option<Shift> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<RecordReplay> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<String> 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<(<Option<Shift> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<RecordReplay> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy), fn((Option<Shift>, Option<OnOff>, Option<OnOff>, Option<RecordReplay>, Option<PathBuf>, Option<String>)) -> Icount>
type Strategy = Map<(<Option<Shift> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<RecordReplay> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy), fn((Option<Shift>, Option<OnOff>, Option<OnOff>, Option<RecordReplay>, Option<PathBuf>, Option<String>)) -> Icount>
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 Icount
impl Ord for Icount
Source§impl PartialOrd for Icount
impl PartialOrd for Icount
Source§impl ToCommand for Icount
impl ToCommand for Icount
Source§fn command(&self) -> String
fn command(&self) -> String
Convert to a type suitable to pass to
std::process::Command::new()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 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 Icount
impl StructuralPartialEq for Icount
Auto Trait Implementations§
impl Freeze for Icount
impl RefUnwindSafe for Icount
impl Send for Icount
impl Sync for Icount
impl Unpin for Icount
impl UnsafeUnpin for Icount
impl UnwindSafe for Icount
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