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