Struct hwclock::HwClockDev [] [src]

pub struct HwClockDev { /* fields omitted */ }

Hardware clock

Wraps an open hardware clock, usually found at /dev/rtc or /dev/rtc0.

Methods

impl HwClockDev
[src]

[src]

Open clock

The device node will be held open until the HwClockDev is dropped

[src]

Get hardware clocks time

[src]

Set hardware clocks time

Trait Implementations

impl Debug for HwClockDev
[src]

[src]

Formats the value using the given formatter.