Struct uefi_raw::protocol::disk::DiskIoProtocol
source · #[repr(C)]pub struct DiskIoProtocol {
pub revision: u64,
pub read_disk: unsafe extern "efiapi" fn(this: *const Self, media_id: u32, offset: u64, buffer_size: usize, buffer: *mut c_void) -> Status,
pub write_disk: unsafe extern "efiapi" fn(this: *mut Self, media_id: u32, offset: u64, buffer_size: usize, buffer: *const c_void) -> Status,
}
Fields§
§revision: u64
§read_disk: unsafe extern "efiapi" fn(this: *const Self, media_id: u32, offset: u64, buffer_size: usize, buffer: *mut c_void) -> Status
§write_disk: unsafe extern "efiapi" fn(this: *mut Self, media_id: u32, offset: u64, buffer_size: usize, buffer: *const c_void) -> Status
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DiskIoProtocol
impl RefUnwindSafe for DiskIoProtocol
impl Send for DiskIoProtocol
impl Sync for DiskIoProtocol
impl Unpin for DiskIoProtocol
impl UnwindSafe for DiskIoProtocol
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