pub enum RtcClock {
Host,
Rt,
Vm,
}Expand description
Supported RTC clock sources.
Variants§
Trait Implementations§
Source§impl Arbitrary for RtcClock
impl Arbitrary for RtcClock
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() -> RtcClock>), (u32, Arc<fn() -> RtcClock>), (u32, Arc<fn() -> RtcClock>))>
type Strategy = TupleUnion<((u32, Arc<fn() -> RtcClock>), (u32, Arc<fn() -> RtcClock>), (u32, Arc<fn() -> RtcClock>))>
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 RtcClock
impl Ord for RtcClock
Source§impl PartialOrd for RtcClock
impl PartialOrd for RtcClock
impl Eq for RtcClock
impl StructuralPartialEq for RtcClock
Auto Trait Implementations§
impl Freeze for RtcClock
impl RefUnwindSafe for RtcClock
impl Send for RtcClock
impl Sync for RtcClock
impl Unpin for RtcClock
impl UnsafeUnpin for RtcClock
impl UnwindSafe for RtcClock
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