pub struct VNC { /* private fields */ }Expand description
Configure the QEMU VNC server.
Display and FromStr round-trip the canonical comma-separated
-vnc argument forms that this crate models.
Implementations§
Trait Implementations§
Source§impl Arbitrary for VNC
impl Arbitrary for VNC
Source§type Parameters = (<VNCDisplay as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, (<Option<OnOff> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<AllowExclusiveForceSharedIgnore> as Arbitrary>::Parameters, <Option<usize> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters))
type Parameters = (<VNCDisplay as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, (<Option<OnOff> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<AllowExclusiveForceSharedIgnore> as Arbitrary>::Parameters, <Option<usize> as Arbitrary>::Parameters, <Option<String> 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<(<VNCDisplay as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, (<Option<OnOff> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<AllowExclusiveForceSharedIgnore> as Arbitrary>::Strategy, <Option<usize> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy)), fn((VNCDisplay, Option<OnOff>, Option<String>, Option<OnOff>, Option<String>, Option<String>, Option<String>, Option<OnOff>, Option<String>, (Option<OnOff>, Option<OnOff>, Option<OnOff>, Option<AllowExclusiveForceSharedIgnore>, Option<usize>, Option<String>, Option<OnOff>))) -> VNC>
type Strategy = Map<(<VNCDisplay as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, (<Option<OnOff> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<AllowExclusiveForceSharedIgnore> as Arbitrary>::Strategy, <Option<usize> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy)), fn((VNCDisplay, Option<OnOff>, Option<String>, Option<OnOff>, Option<String>, Option<String>, Option<String>, Option<OnOff>, Option<String>, (Option<OnOff>, Option<OnOff>, Option<OnOff>, Option<AllowExclusiveForceSharedIgnore>, Option<usize>, Option<String>, Option<OnOff>))) -> VNC>
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 VNC
impl Ord for VNC
Source§impl PartialOrd for VNC
impl PartialOrd for VNC
Source§impl ToCommand for VNC
impl ToCommand for VNC
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 VNC
impl StructuralPartialEq for VNC
Auto Trait Implementations§
impl Freeze for VNC
impl RefUnwindSafe for VNC
impl Send for VNC
impl Sync for VNC
impl Unpin for VNC
impl UnsafeUnpin for VNC
impl UnwindSafe for VNC
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