efi
efi copied to clipboard
Use a repr transparent wrapper over raw EFI_STATUS in declarations
In FFI declarations instead of raw EFI_STATUS, use a wrapper over it with #repr[transparent]. Then implement that Try trait on this wrapper. All this so that we can use ? operator when we call these functions.