Enum muse_reactor::NoWork
source · pub enum NoWork {}Expand description
A WorkUnit that can not be instantiated.
Trait Implementations§
source§impl WorkUnit for NoWork
impl WorkUnit for NoWork
source§fn initialize(
self,
vms: &dyn NewVm<Self>,
guard: &mut CollectionGuard<'_>,
reactor: &ReactorHandle<Self>,
) -> Result<Vm, PrepareError>
fn initialize( self, vms: &dyn NewVm<Self>, guard: &mut CollectionGuard<'_>, reactor: &ReactorHandle<Self>, ) -> Result<Vm, PrepareError>
Initializes a new virtual machine for this unit of work.
Auto Trait Implementations§
impl Freeze for NoWork
impl RefUnwindSafe for NoWork
impl Send for NoWork
impl Sync for NoWork
impl Unpin for NoWork
impl UnwindSafe for NoWork
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