pub enum ReadlineControl {
Readline,
Control,
}Expand description
Supported QEMU monitor protocol modes.
Variants§
Trait Implementations§
Source§impl Arbitrary for ReadlineControl
impl Arbitrary for ReadlineControl
Source§type Parameters = ()
type 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<fn() -> ReadlineControl>), (u32, Arc<fn() -> ReadlineControl>))>
type Strategy = TupleUnion<((u32, Arc<fn() -> ReadlineControl>), (u32, Arc<fn() -> ReadlineControl>))>
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 Clone for ReadlineControl
impl Clone for ReadlineControl
Source§fn clone(&self) -> ReadlineControl
fn clone(&self) -> ReadlineControl
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReadlineControl
impl Debug for ReadlineControl
Source§impl Display for ReadlineControl
impl Display for ReadlineControl
Source§impl FromStr for ReadlineControl
impl FromStr for ReadlineControl
Source§impl Hash for ReadlineControl
impl Hash for ReadlineControl
Source§impl Ord for ReadlineControl
impl Ord for ReadlineControl
Source§fn cmp(&self, other: &ReadlineControl) -> Ordering
fn cmp(&self, other: &ReadlineControl) -> Ordering
1.21.0 · 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 PartialEq for ReadlineControl
impl PartialEq for ReadlineControl
Source§impl PartialOrd for ReadlineControl
impl PartialOrd for ReadlineControl
impl Eq for ReadlineControl
impl StructuralPartialEq for ReadlineControl
Auto Trait Implementations§
impl Freeze for ReadlineControl
impl RefUnwindSafe for ReadlineControl
impl Send for ReadlineControl
impl Sync for ReadlineControl
impl Unpin for ReadlineControl
impl UnsafeUnpin for ReadlineControl
impl UnwindSafe for ReadlineControl
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