pub struct Mon { /* private fields */ }Expand description
A -mon monitor endpoint definition.
Implementations§
Trait Implementations§
Source§impl Arbitrary for Mon
impl Arbitrary for Mon
Source§type Parameters = (<ShellString as Arbitrary>::Parameters, <Option<ShellString> as Arbitrary>::Parameters, <Option<ReadlineControl> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters)
type Parameters = (<ShellString as Arbitrary>::Parameters, <Option<ShellString> as Arbitrary>::Parameters, <Option<ReadlineControl> 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<(<ShellString as Arbitrary>::Strategy, <Option<ShellString> as Arbitrary>::Strategy, <Option<ReadlineControl> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy), fn((ShellString, Option<ShellString>, Option<ReadlineControl>, Option<OnOff>)) -> Mon>
type Strategy = Map<(<ShellString as Arbitrary>::Strategy, <Option<ShellString> as Arbitrary>::Strategy, <Option<ReadlineControl> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy), fn((ShellString, Option<ShellString>, Option<ReadlineControl>, Option<OnOff>)) -> Mon>
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 Mon
impl Ord for Mon
Source§impl PartialOrd for Mon
impl PartialOrd for Mon
Source§impl ToCommand for Mon
impl ToCommand for Mon
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 Mon
impl StructuralPartialEq for Mon
Auto Trait Implementations§
impl Freeze for Mon
impl RefUnwindSafe for Mon
impl Send for Mon
impl Sync for Mon
impl Unpin for Mon
impl UnsafeUnpin for Mon
impl UnwindSafe for Mon
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