pub struct Runtime<R: Manifold> { /* private fields */ }Implementations§
Source§impl<B, P> Runtime<LocalExecutor<B, P>>where
B: PoolDriver,
P: Profile,
impl<B, P> Runtime<LocalExecutor<B, P>>where
B: PoolDriver,
P: Profile,
Source§impl<B, P> Runtime<LocalExecutor<B, P>>where
B: PoolDriver,
P: Profile,
impl<B, P> Runtime<LocalExecutor<B, P>>where
B: PoolDriver,
P: Profile,
pub fn new_local() -> Result<Self>
pub fn new_local_with_tuning(tuning: RuntimeTuning<B::Config>) -> Result<Self>
Source§impl<R: Manifold> Runtime<R>
impl<R: Manifold> Runtime<R>
pub fn new(reactor: R, driver: ManifoldDriver<R>) -> Self
pub fn with_shutdown(self, shutdown: Option<Arc<AtomicBool>>) -> Self
pub fn run_forever(self) -> Result<()>
Auto Trait Implementations§
impl<R> Freeze for Runtime<R>
impl<R> RefUnwindSafe for Runtime<R>
impl<R> Send for Runtime<R>
impl<R> Sync for Runtime<R>
impl<R> Unpin for Runtime<R>
impl<R> UnsafeUnpin for Runtime<R>
impl<R> UnwindSafe for Runtime<R>
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