pub struct VhostUser { /* private fields */ }Expand description
A -netdev vhost-user,... backend.
Implementations§
Trait Implementations§
Source§impl Arbitrary for VhostUser
impl Arbitrary for VhostUser
Source§type Parameters = (<String as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<u64> as Arbitrary>::Parameters)
type Parameters = (<String as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<u64> 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<(<String as Arbitrary>::Strategy, <String as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<u64> as Arbitrary>::Strategy), fn((String, String, Option<OnOff>, Option<u64>)) -> VhostUser>
type Strategy = Map<(<String as Arbitrary>::Strategy, <String as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<u64> as Arbitrary>::Strategy), fn((String, String, Option<OnOff>, Option<u64>)) -> VhostUser>
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
impl Eq for VhostUser
Source§impl Ord for VhostUser
impl Ord for VhostUser
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for VhostUser
impl PartialOrd for VhostUser
impl StructuralPartialEq for VhostUser
Source§impl ToCommand for VhostUser
impl ToCommand for VhostUser
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 command(&self) -> String
fn command(&self) -> String
Convert to a type suitable to pass to
std::process::Command::new()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
StringAuto Trait Implementations§
impl Freeze for VhostUser
impl RefUnwindSafe for VhostUser
impl Send for VhostUser
impl Sync for VhostUser
impl Unpin for VhostUser
impl UnsafeUnpin for VhostUser
impl UnwindSafe for VhostUser
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