pub struct TestWorker { /* private fields */ }
Implementations§
Source§impl TestWorker
impl TestWorker
Sourcepub async fn teardown_ignore(self)
pub async fn teardown_ignore(self)
Like teardown
, but ignore the result. Nice for the fuzzer,
so that the storvsp
crate doesn’t need to expose WorkerError
as pub.
pub fn start<T: RingMem + 'static + Sync>( controller: ScsiController, spawner: impl Spawn, mem: GuestMemory, channel: RawAsyncChannel<T>, io_queue_depth: Option<u32>, ) -> Self
Auto Trait Implementations§
impl Freeze for TestWorker
impl RefUnwindSafe for TestWorker
impl Send for TestWorker
impl Sync for TestWorker
impl Unpin for TestWorker
impl UnwindSafe for TestWorker
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