pub struct Runtime<E>where
E: Executor,{ /* private fields */ }
Implementations§
Source§impl<E> Runtime<E>where
E: Executor,
impl<E> Runtime<E>where
E: Executor,
pub fn create(rt: E) -> Result<Runtime<E>>
pub fn register_stateless_service_factory<F>(
&self,
servicetypename: &WString,
factory: F,
) -> Result<()>where
F: StatelessServiceFactory + 'static,
pub fn register_stateful_service_factory( &self, servicetypename: &WString, factory: impl StatefulServiceFactory + 'static, ) -> Result<()>
Auto Trait Implementations§
impl<E> Freeze for Runtime<E>where
E: Freeze,
impl<E> RefUnwindSafe for Runtime<E>where
E: RefUnwindSafe,
impl<E> Send for Runtime<E>
impl<E> Sync for Runtime<E>
impl<E> Unpin for Runtime<E>where
E: Unpin,
impl<E> UnwindSafe for Runtime<E>where
E: UnwindSafe,
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