pub enum FsDev {
Local(Box<FsDevLocal>),
Synth(FsDevSynth),
}Expand description
Define a new QEMU file system device.
Variants§
Local(Box<FsDevLocal>)
Synth(FsDevSynth)
Trait Implementations§
Source§impl Arbitrary for FsDev
impl Arbitrary for FsDev
Source§type Parameters = (<Box<FsDevLocal> as Arbitrary>::Parameters, <FsDevSynth as Arbitrary>::Parameters)
type Parameters = (<Box<FsDevLocal> as Arbitrary>::Parameters, <FsDevSynth 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<<Box<FsDevLocal> as Arbitrary>::Strategy, fn(Box<FsDevLocal>) -> FsDev>>), (u32, Arc<Map<<FsDevSynth as Arbitrary>::Strategy, fn(FsDevSynth) -> FsDev>>))>
type Strategy = TupleUnion<((u32, Arc<Map<<Box<FsDevLocal> as Arbitrary>::Strategy, fn(Box<FsDevLocal>) -> FsDev>>), (u32, Arc<Map<<FsDevSynth as Arbitrary>::Strategy, fn(FsDevSynth) -> FsDev>>))>
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 FsDev
impl Ord for FsDev
Source§impl PartialOrd for FsDev
impl PartialOrd for FsDev
Source§impl ToCommand for FsDev
impl ToCommand for FsDev
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 FsDev
impl StructuralPartialEq for FsDev
Auto Trait Implementations§
impl Freeze for FsDev
impl RefUnwindSafe for FsDev
impl Send for FsDev
impl Sync for FsDev
impl Unpin for FsDev
impl UnsafeUnpin for FsDev
impl UnwindSafe for FsDev
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