pub struct TestGuest {
pub queue: Queue<FlatRingMem>,
pub transaction_id: u64,
}
Fields§
§queue: Queue<FlatRingMem>
§transaction_id: u64
Implementations§
Source§impl TestGuest
impl TestGuest
pub async fn send_data_packet_sync(&mut self, payload: &[&[u8]])
pub async fn send_gpa_direct_packet_sync( &mut self, payload: &[&[u8]], gpa_start: u64, byte_len: usize, )
pub async fn send_write_packet( &mut self, path: ScsiPath, buf_gpa: u64, block: u32, byte_len: usize, )
pub async fn send_read_packet( &mut self, path: ScsiPath, read_gpa: u64, block: u32, byte_len: usize, )
pub async fn send_report_luns_packet( &mut self, path: ScsiPath, data_buffer_gpa: u64, data_buffer_len: usize, )
pub async fn perform_protocol_negotiation(&mut self)
Auto Trait Implementations§
impl Freeze for TestGuest
impl !RefUnwindSafe for TestGuest
impl Send for TestGuest
impl Sync for TestGuest
impl Unpin for TestGuest
impl !UnwindSafe for TestGuest
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