We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26717f6 commit d647d46Copy full SHA for d647d46
uefi/src/result/error.rs
@@ -1,8 +1,11 @@
1
+//! Module for UEFI-specific error encodings. See [`Error`].
2
+
3
use super::Status;
4
use core::fmt::{Debug, Display};
5
-/// Errors emitted from UEFI entry point must propagate erroneous UEFI statuses,
-/// and may optionally propagate additional entry point-specific data.
6
+/// An UEFI-related error with optionally additional payload data. The error
7
+/// kind is encoded in the `status` field (see [`Status`]). Additional payload
8
+/// may be inside the `data` field.
9
#[derive(Debug, PartialEq, Eq)]
10
pub struct Error<Data: Debug = ()> {
11
status: Status,
0 commit comments