pub struct MorphRuntime<C> { /* private fields */ }Trait Implementations§
Source§impl<C: MorphContext> InteractiveRuntime for MorphRuntime<C>
impl<C: MorphContext> InteractiveRuntime for MorphRuntime<C>
Source§impl<C: MorphContext> Runtime for MorphRuntime<C>
impl<C: MorphContext> Runtime for MorphRuntime<C>
Source§fn get_interruptor(&mut self) -> Interruptor
fn get_interruptor(&mut self) -> Interruptor
Used by a lifetime tracker of the supervisor to stop it.
It’s the separate type that wraps address made by a runtime.
fn routine<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl<C> Freeze for MorphRuntime<C>where
C: Freeze,
impl<C> !RefUnwindSafe for MorphRuntime<C>
impl<C> Send for MorphRuntime<C>where
C: Send,
impl<C> !Sync for MorphRuntime<C>
impl<C> Unpin for MorphRuntime<C>where
C: Unpin,
impl<C> !UnwindSafe for MorphRuntime<C>
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