pub trait AsyncScsiDisk:
Send
+ Sync
+ Inspect
+ ScsiSaveRestore {
// Required method
fn execute_scsi<'a>(
&'a self,
external_data: &'a RequestBuffers<'a>,
request: &'a Request,
) -> StackFuture<'a, ScsiResult, { ASYNC_SCSI_DISK_STACK_SIZE }>;
}
Expand description
Trait for issuing SCSI device requests.
Required Methods§
Sourcefn execute_scsi<'a>(
&'a self,
external_data: &'a RequestBuffers<'a>,
request: &'a Request,
) -> StackFuture<'a, ScsiResult, { ASYNC_SCSI_DISK_STACK_SIZE }>
fn execute_scsi<'a>( &'a self, external_data: &'a RequestBuffers<'a>, request: &'a Request, ) -> StackFuture<'a, ScsiResult, { ASYNC_SCSI_DISK_STACK_SIZE }>
Executes a SCSI request.