pub enum Virtfs {
Local(Local),
Synth(Synth),
}Variants§
Trait Implementations§
Source§impl Arbitrary for Virtfs
impl Arbitrary for Virtfs
Source§type Parameters = (<Local as Arbitrary>::Parameters, <Synth as Arbitrary>::Parameters)
type Parameters = (<Local as Arbitrary>::Parameters, <Synth as Arbitrary>::Parameters)
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = TupleUnion<((u32, Arc<Map<<Local as Arbitrary>::Strategy, fn(Local) -> Virtfs>>), (u32, Arc<Map<<Synth as Arbitrary>::Strategy, fn(Synth) -> Virtfs>>))>
type Strategy = TupleUnion<((u32, Arc<Map<<Local as Arbitrary>::Strategy, fn(Local) -> Virtfs>>), (u32, Arc<Map<<Synth as Arbitrary>::Strategy, fn(Synth) -> Virtfs>>))>
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 Virtfs
impl Ord for Virtfs
Source§impl PartialOrd for Virtfs
impl PartialOrd for Virtfs
Source§impl ToCommand for Virtfs
impl ToCommand for Virtfs
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 Virtfs
impl StructuralPartialEq for Virtfs
Auto Trait Implementations§
impl Freeze for Virtfs
impl RefUnwindSafe for Virtfs
impl Send for Virtfs
impl Sync for Virtfs
impl Unpin for Virtfs
impl UnsafeUnpin for Virtfs
impl UnwindSafe for Virtfs
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