pub struct CharNull { /* private fields */ }Expand description
A QEMU -chardev backend.
The parser supports the canonical backend forms that this crate renders for
common QEMU character device backends such as socket, stdio, file,
pipe, pty, hub, and related simple backends.
Implementations§
Trait Implementations§
Source§impl Arbitrary for CharNull
impl Arbitrary for CharNull
Source§type Parameters = (<String as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters)
type Parameters = (<String as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<PathBuf> 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<(<String as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy), fn((String, Option<OnOff>, Option<PathBuf>, Option<OnOff>)) -> CharNull>
type Strategy = Map<(<String as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy), fn((String, Option<OnOff>, Option<PathBuf>, Option<OnOff>)) -> CharNull>
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 CharNull
impl Ord for CharNull
Source§impl PartialOrd for CharNull
impl PartialOrd for CharNull
impl Eq for CharNull
impl StructuralPartialEq for CharNull
Auto Trait Implementations§
impl Freeze for CharNull
impl RefUnwindSafe for CharNull
impl Send for CharNull
impl Sync for CharNull
impl Unpin for CharNull
impl UnsafeUnpin for CharNull
impl UnwindSafe for CharNull
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