Struct uefi_raw::protocol::file_system::FileProtocolV2
source · #[repr(C)]pub struct FileProtocolV2 {
pub v1: FileProtocolV1,
pub open_ex: unsafe extern "efiapi" fn(this: *mut Self, new_handle: *mut *mut Self, file_name: *const Char16, open_mode: FileMode, attributes: FileAttribute, token: *mut FileIoToken) -> Status,
pub read_ex: unsafe extern "efiapi" fn(this: *mut Self, token: *mut FileIoToken) -> Status,
pub write_ex: unsafe extern "efiapi" fn(this: *mut Self, token: *mut FileIoToken) -> Status,
pub flush_ex: unsafe extern "efiapi" fn(this: *mut Self, token: *mut FileIoToken) -> Status,
}Fields§
§v1: FileProtocolV1§open_ex: unsafe extern "efiapi" fn(this: *mut Self, new_handle: *mut *mut Self, file_name: *const Char16, open_mode: FileMode, attributes: FileAttribute, token: *mut FileIoToken) -> Status§read_ex: unsafe extern "efiapi" fn(this: *mut Self, token: *mut FileIoToken) -> Status§write_ex: unsafe extern "efiapi" fn(this: *mut Self, token: *mut FileIoToken) -> Status§flush_ex: unsafe extern "efiapi" fn(this: *mut Self, token: *mut FileIoToken) -> StatusTrait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for FileProtocolV2
impl Send for FileProtocolV2
impl Sync for FileProtocolV2
impl Unpin for FileProtocolV2
impl UnwindSafe for FileProtocolV2
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more