#[repr(C)]pub struct ScsiIoScsiRequestPacket {
pub timeout: u64,
pub in_data_buffer: *mut c_void,
pub out_data_buffer: *mut c_void,
pub sense_data: *mut c_void,
pub cdb: *mut c_void,
pub in_transfer_length: u32,
pub out_transfer_length: u32,
pub cdb_length: u8,
pub data_direction: ScsiIoDataDirection,
pub host_adapter_status: ScsiIoHostAdapterStatus,
pub target_status: ScsiIoTargetStatus,
pub sense_data_length: u8,
}
Fields§
§timeout: u64
§in_data_buffer: *mut c_void
§out_data_buffer: *mut c_void
§sense_data: *mut c_void
§cdb: *mut c_void
§in_transfer_length: u32
§out_transfer_length: u32
§cdb_length: u8
§data_direction: ScsiIoDataDirection
§host_adapter_status: ScsiIoHostAdapterStatus
§target_status: ScsiIoTargetStatus
§sense_data_length: u8
Trait Implementations§
Source§impl Clone for ScsiIoScsiRequestPacket
impl Clone for ScsiIoScsiRequestPacket
Source§fn clone(&self) -> ScsiIoScsiRequestPacket
fn clone(&self) -> ScsiIoScsiRequestPacket
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ScsiIoScsiRequestPacket
impl Debug for ScsiIoScsiRequestPacket
impl Copy for ScsiIoScsiRequestPacket
Auto Trait Implementations§
impl Freeze for ScsiIoScsiRequestPacket
impl RefUnwindSafe for ScsiIoScsiRequestPacket
impl !Send for ScsiIoScsiRequestPacket
impl !Sync for ScsiIoScsiRequestPacket
impl Unpin for ScsiIoScsiRequestPacket
impl UnwindSafe for ScsiIoScsiRequestPacket
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