Struct HiiDatabaseProtocol

Source
#[repr(C)]
pub struct HiiDatabaseProtocol { pub new_package_list: unsafe extern "efiapi" fn(this: *const Self, package_list: *const HiiPackageListHeader, driver_handle: Handle, handle: *mut HiiHandle) -> Status, pub remove_package_list: unsafe extern "efiapi" fn(this: *const Self, handle: HiiHandle) -> Status, pub update_package_list: unsafe extern "efiapi" fn(this: *const Self, handle: HiiHandle, package_list: *const HiiPackageListHeader) -> Status, pub list_package_lists: unsafe extern "efiapi" fn(this: *const Self, package_type: u8, package_guid: *const Guid, handle_buffer_length: *mut usize, handle: *mut HiiHandle) -> Status, pub export_package_lists: unsafe extern "efiapi" fn(this: *const Self, handle: HiiHandle, buffer_size: *mut usize, buffer: *mut HiiPackageListHeader) -> Status, pub register_package_notify: unsafe extern "efiapi" fn(this: *const Self, package_type: u8, package_guid: *const Guid, package_notify_fn: HiiDatabaseNotifyFn, notify_type: HiiDatabaseNotifyType, notify_handle: *mut Handle) -> Status, pub unregister_package_notify: unsafe extern "efiapi" fn(this: *const Self, notification_handle: Handle) -> Status, pub find_keyboard_layouts: unsafe extern "efiapi" fn(this: *const Self, key_guid_buffer_length: *mut u16, key_guid_buffer: *mut Guid) -> Status, pub get_keyboard_layout: unsafe extern "efiapi" fn(this: *const Self, key_guid: *const Guid, leyboard_layout_length: *mut u16, keyboard_layout: *mut HiiKeyboardLayout) -> Status, pub set_keyboard_layout: unsafe extern "efiapi" fn(this: *const Self, key_guid: *const Guid) -> Status, pub get_package_list_handle: unsafe extern "efiapi" fn(this: *const Self, package_list_handle: HiiHandle, driver_handle: *mut Handle) -> Status, }
Expand description

EFI_HII_DATABASE_PROTOCOL

Fields§

§new_package_list: unsafe extern "efiapi" fn(this: *const Self, package_list: *const HiiPackageListHeader, driver_handle: Handle, handle: *mut HiiHandle) -> Status§remove_package_list: unsafe extern "efiapi" fn(this: *const Self, handle: HiiHandle) -> Status§update_package_list: unsafe extern "efiapi" fn(this: *const Self, handle: HiiHandle, package_list: *const HiiPackageListHeader) -> Status§list_package_lists: unsafe extern "efiapi" fn(this: *const Self, package_type: u8, package_guid: *const Guid, handle_buffer_length: *mut usize, handle: *mut HiiHandle) -> Status§export_package_lists: unsafe extern "efiapi" fn(this: *const Self, handle: HiiHandle, buffer_size: *mut usize, buffer: *mut HiiPackageListHeader) -> Status§register_package_notify: unsafe extern "efiapi" fn(this: *const Self, package_type: u8, package_guid: *const Guid, package_notify_fn: HiiDatabaseNotifyFn, notify_type: HiiDatabaseNotifyType, notify_handle: *mut Handle) -> Status§unregister_package_notify: unsafe extern "efiapi" fn(this: *const Self, notification_handle: Handle) -> Status§find_keyboard_layouts: unsafe extern "efiapi" fn(this: *const Self, key_guid_buffer_length: *mut u16, key_guid_buffer: *mut Guid) -> Status§get_keyboard_layout: unsafe extern "efiapi" fn(this: *const Self, key_guid: *const Guid, leyboard_layout_length: *mut u16, keyboard_layout: *mut HiiKeyboardLayout) -> Status§set_keyboard_layout: unsafe extern "efiapi" fn(this: *const Self, key_guid: *const Guid) -> Status§get_package_list_handle: unsafe extern "efiapi" fn(this: *const Self, package_list_handle: HiiHandle, driver_handle: *mut Handle) -> Status

Implementations§

Trait Implementations§

Source§

impl Debug for HiiDatabaseProtocol

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.