Protocol

Struct Protocol 

Source
#[repr(C)]
pub struct Protocol {
Show 46 fields pub execute: Execute, pub get_env: GetEnv, pub set_env: SetEnv, pub get_alias: GetAlias, pub set_alias: SetAlias, pub get_help_text: GetHelpText, pub get_device_path_from_map: GetDevicePathFromMap, pub get_map_from_device_path: GetMapFromDevicePath, pub get_device_path_from_file_path: GetDevicePathFromFilePath, pub get_file_path_from_device_path: GetFilePathFromDevicePath, pub set_map: SetMap, pub get_cur_dir: GetCurDir, pub set_cur_dir: SetCurDir, pub open_file_list: OpenFileList, pub free_file_list: FreeFileList, pub remove_dup_in_file_list: RemoveDupInFileList, pub batch_is_active: BatchIsActive, pub is_root_shell: IsRootShell, pub enable_page_break: EnablePageBreak, pub disable_page_break: DisablePageBreak, pub get_page_break: GetPageBreak, pub get_device_name: GetDeviceName, pub get_file_info: GetFileInfo, pub set_file_info: SetFileInfo, pub open_file_by_name: OpenFileByName, pub close_file: CloseFile, pub create_file: CreateFile, pub read_file: ReadFile, pub write_file: WriteFile, pub delete_file: DeleteFile, pub delete_file_by_name: DeleteFileByName, pub get_file_position: GetFilePosition, pub set_file_position: SetFilePosition, pub flush_file: FlushFile, pub find_files: FindFiles, pub find_files_in_dir: FindFilesInDir, pub get_file_size: GetFileSize, pub open_root: OpenRoot, pub open_root_by_handle: OpenRootByHandle, pub execution_break: Event, pub major_version: u32, pub minor_version: u32, pub register_guid_name: RegisterGuidName, pub get_guid_name: GetGuidName, pub get_guid_from_name: GetGuidFromName, pub get_env_ex: GetEnvEx,
}

Fields§

§execute: Execute§get_env: GetEnv§set_env: SetEnv§get_alias: GetAlias§set_alias: SetAlias§get_help_text: GetHelpText§get_device_path_from_map: GetDevicePathFromMap§get_map_from_device_path: GetMapFromDevicePath§get_device_path_from_file_path: GetDevicePathFromFilePath§get_file_path_from_device_path: GetFilePathFromDevicePath§set_map: SetMap§get_cur_dir: GetCurDir§set_cur_dir: SetCurDir§open_file_list: OpenFileList§free_file_list: FreeFileList§remove_dup_in_file_list: RemoveDupInFileList§batch_is_active: BatchIsActive§is_root_shell: IsRootShell§enable_page_break: EnablePageBreak§disable_page_break: DisablePageBreak§get_page_break: GetPageBreak§get_device_name: GetDeviceName§get_file_info: GetFileInfo§set_file_info: SetFileInfo§open_file_by_name: OpenFileByName§close_file: CloseFile§create_file: CreateFile§read_file: ReadFile§write_file: WriteFile§delete_file: DeleteFile§delete_file_by_name: DeleteFileByName§get_file_position: GetFilePosition§set_file_position: SetFilePosition§flush_file: FlushFile§find_files: FindFiles§find_files_in_dir: FindFilesInDir§get_file_size: GetFileSize§open_root: OpenRoot§open_root_by_handle: OpenRootByHandle§execution_break: Event§major_version: u32§minor_version: u32§register_guid_name: RegisterGuidName§get_guid_name: GetGuidName§get_guid_from_name: GetGuidFromName§get_env_ex: GetEnvEx

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.