Function setTime [src]

Prototype

pub fn setTime(self: *RuntimeServices, time: *const Time) SetTimeError!void

Parameters

self: *RuntimeServicestime: *const Time

Possible Errors

DeviceError
Unexpected UnexpectedError
Unsupported

Source

pub fn setTime(self: *RuntimeServices, time: *const Time) SetTimeError!void { switch (self._setTime(time)) { .success => {}, .device_error => return error.DeviceError, .unsupported => return error.Unsupported, else => |status| return uefi.unexpectedStatus(status), } }