Struct stivale_boot::v2::StivaleEpochTag
source · [−]#[repr(C)]pub struct StivaleEpochTag {
pub header: StivaleTagHeader,
pub epoch: u64,
}
Expand description
This tag is used to get the current UNIX epoch, as per RTC.
Fields
header: StivaleTagHeader
epoch: u64
UNIX epoch at boot, which is read from system RTC.
Auto Trait Implementations
impl RefUnwindSafe for StivaleEpochTag
impl Send for StivaleEpochTag
impl Sync for StivaleEpochTag
impl Unpin for StivaleEpochTag
impl UnwindSafe for StivaleEpochTag
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more