[][src]Struct uefi::table::runtime::TimeCapabilities

#[repr(C)]pub struct TimeCapabilities {
    pub resolution: u32,
    pub accuracy: u32,
    pub sets_to_zero: bool,
}

Real time clock capabilities

Fields

resolution: u32

Reporting resolution of the clock in counts per second. 1 for a normal PC-AT CMOS RTC device, which reports the time with 1-second resolution.

accuracy: u32

Timekeeping accuracy in units of 1e-6 parts per million.

sets_to_zero: bool

Whether a time set operation clears the device's time below the "resolution" reporting level. False for normal PC-AT CMOS RTC devices.

Trait Implementations

impl Clone for TimeCapabilities[src]

impl Copy for TimeCapabilities[src]

impl Debug for TimeCapabilities[src]

impl Eq for TimeCapabilities[src]

impl PartialEq<TimeCapabilities> for TimeCapabilities[src]

impl StructuralEq for TimeCapabilities[src]

impl StructuralPartialEq for TimeCapabilities[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.