#[repr(C)]pub struct ScsiIoProtocol {
pub get_device_type: unsafe extern "efiapi" fn(this: *const Self, device_type: *mut ScsiIoType) -> Status,
pub get_device_location: unsafe extern "efiapi" fn(this: *const Self, target: *mut *mut u8, lun: *mut u64) -> Status,
pub reset_bus: unsafe extern "efiapi" fn(this: *mut Self) -> Status,
pub reset_device: unsafe extern "efiapi" fn(this: *mut Self) -> Status,
pub execute_scsi_command: unsafe extern "efiapi" fn(this: *const Self, packet: *mut ScsiIoScsiRequestPacket, event: Event) -> Status,
pub io_align: u32,
}
Fields§
§get_device_type: unsafe extern "efiapi" fn(this: *const Self, device_type: *mut ScsiIoType) -> Status
§get_device_location: unsafe extern "efiapi" fn(this: *const Self, target: *mut *mut u8, lun: *mut u64) -> Status
§reset_bus: unsafe extern "efiapi" fn(this: *mut Self) -> Status
§reset_device: unsafe extern "efiapi" fn(this: *mut Self) -> Status
§execute_scsi_command: unsafe extern "efiapi" fn(this: *const Self, packet: *mut ScsiIoScsiRequestPacket, event: Event) -> Status
§io_align: u32
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ScsiIoProtocol
impl RefUnwindSafe for ScsiIoProtocol
impl Send for ScsiIoProtocol
impl Sync for ScsiIoProtocol
impl Unpin for ScsiIoProtocol
impl UnwindSafe for ScsiIoProtocol
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