Module uefi::data_types
source[−]Expand description
Data type definitions
This module defines the basic data types that are used throughout uefi-rs
Re-exports
Modules
UEFI character handling
Structs
A Latin-1 null-terminated string
An UCS-2 null-terminated string
An owned UCS-2 null-terminated string.
Handle to an event structure
A globally unique identifier
Opaque handle to an UEFI entity (protocol, image…), guaranteed to be non-null.
Enums
Errors which can occur during checked [uN]
-> CStrN
conversions
Error returned by CString16::try_from::<&str>
.
Error returned by CStr16::from_str_with_buf
.
Traits
Trait for querying the alignment of a struct
Several entities in the UEFI specification can be referred to by their GUID, this trait is a building block to interface them in uefi-rs.
Attribute Macros
unsafe_guid
attribute macro, implements the Identify
trait for any type
(mostly works like a custom derive, but also supports type aliases)