scsi_core

Trait AsyncScsiDisk

Source
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§

Source

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.

Implementors§