pub struct Trace { /* private fields */ }Expand description
A QEMU -trace [[enable=]pattern][,events=file][,file=file] definition.
Implementations§
Trait Implementations§
Source§impl Arbitrary for Trace
impl Arbitrary for Trace
Source§type Parameters = (<Option<String> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters)
type Parameters = (<Option<String> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<PathBuf> 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<String> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy), fn((Option<String>, Option<PathBuf>, Option<PathBuf>)) -> Trace>
type Strategy = Map<(<Option<String> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy), fn((Option<String>, Option<PathBuf>, Option<PathBuf>)) -> Trace>
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 Trace
impl Ord for Trace
Source§impl PartialOrd for Trace
impl PartialOrd for Trace
Source§impl ToCommand for Trace
impl ToCommand for Trace
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 Trace
impl StructuralPartialEq for Trace
Auto Trait Implementations§
impl Freeze for Trace
impl RefUnwindSafe for Trace
impl Send for Trace
impl Sync for Trace
impl Unpin for Trace
impl UnsafeUnpin for Trace
impl UnwindSafe for Trace
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