pub enum RtcDriftFix {
None,
Slew,
}Expand description
Supported QEMU RTC drift correction modes.
Variants§
Trait Implementations§
Source§impl Arbitrary for RtcDriftFix
impl Arbitrary for RtcDriftFix
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() -> RtcDriftFix>), (u32, Arc<fn() -> RtcDriftFix>))>
type Strategy = TupleUnion<((u32, Arc<fn() -> RtcDriftFix>), (u32, Arc<fn() -> RtcDriftFix>))>
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 RtcDriftFix
impl Clone for RtcDriftFix
Source§fn clone(&self) -> RtcDriftFix
fn clone(&self) -> RtcDriftFix
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 RtcDriftFix
impl Debug for RtcDriftFix
Source§impl Display for RtcDriftFix
impl Display for RtcDriftFix
Source§impl FromStr for RtcDriftFix
impl FromStr for RtcDriftFix
Source§impl Hash for RtcDriftFix
impl Hash for RtcDriftFix
Source§impl Ord for RtcDriftFix
impl Ord for RtcDriftFix
Source§fn cmp(&self, other: &RtcDriftFix) -> Ordering
fn cmp(&self, other: &RtcDriftFix) -> 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 RtcDriftFix
impl PartialEq for RtcDriftFix
Source§impl PartialOrd for RtcDriftFix
impl PartialOrd for RtcDriftFix
impl Eq for RtcDriftFix
impl StructuralPartialEq for RtcDriftFix
Auto Trait Implementations§
impl Freeze for RtcDriftFix
impl RefUnwindSafe for RtcDriftFix
impl Send for RtcDriftFix
impl Sync for RtcDriftFix
impl Unpin for RtcDriftFix
impl UnsafeUnpin for RtcDriftFix
impl UnwindSafe for RtcDriftFix
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