You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When returning a TimeError, it'd be helpful to specify to the user which field
is invalid so that it can be handled accordingly, or at least communicated. This
change does this by reimplementing TimeError as an enum instead of a struct,
allowing for specification and more verbose error display.
Copy file name to clipboardExpand all lines: uefi/CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@
14
14
- Added `TryFrom<&[u8]>` for `DevicePathHeader`, `DevicePathNode` and `DevicePath`.
15
15
- Added `ByteConversionError`.
16
16
- Re-exported `CapsuleFlags`.
17
+
-`TimeError` is now implemented as an enum instead of a struct so that one can specify what field of `Time` is invalid. `Time::is_valid` has been updated accordingly.
17
18
18
19
## Changed
19
20
-`SystemTable::exit_boot_services` is now `unsafe`. See that method's
0 commit comments