pub struct Rtc { /* private fields */ }Expand description
A QEMU -rtc definition.
Implementations§
Trait Implementations§
Source§impl Arbitrary for Rtc
impl Arbitrary for Rtc
Source§type Parameters = (<Option<RtcBase> as Arbitrary>::Parameters, <Option<RtcClock> as Arbitrary>::Parameters, <Option<RtcDriftFix> as Arbitrary>::Parameters)
type Parameters = (<Option<RtcBase> as Arbitrary>::Parameters, <Option<RtcClock> as Arbitrary>::Parameters, <Option<RtcDriftFix> 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<(<Option<RtcBase> as Arbitrary>::Strategy, <Option<RtcClock> as Arbitrary>::Strategy, <Option<RtcDriftFix> as Arbitrary>::Strategy), fn((Option<RtcBase>, Option<RtcClock>, Option<RtcDriftFix>)) -> Rtc>
type Strategy = Map<(<Option<RtcBase> as Arbitrary>::Strategy, <Option<RtcClock> as Arbitrary>::Strategy, <Option<RtcDriftFix> as Arbitrary>::Strategy), fn((Option<RtcBase>, Option<RtcClock>, Option<RtcDriftFix>)) -> Rtc>
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 Rtc
impl Ord for Rtc
Source§impl PartialOrd for Rtc
impl PartialOrd for Rtc
Source§impl ToCommand for Rtc
impl ToCommand for Rtc
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_args(&self) -> Vec<String>
fn to_args(&self) -> Vec<String>
Convert to a type suitable to pass to
std::process::Command::args()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
Stringimpl Eq for Rtc
impl StructuralPartialEq for Rtc
Auto Trait Implementations§
impl Freeze for Rtc
impl RefUnwindSafe for Rtc
impl Send for Rtc
impl Sync for Rtc
impl Unpin for Rtc
impl UnsafeUnpin for Rtc
impl UnwindSafe for Rtc
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