pub struct RuntimeBootstrap {
pub config: RuntimeConfig,
pub channels: ChannelRegistry,
pub tools: HostToolRegistry,
}Expand description
Production bootstrap for super::lifecycle::StartedRuntime::start.
The runtime constructs and owns its Tokio executor (v2 §7.2). There is no
external Handle on this struct.
Fields§
§config: RuntimeConfigLimits and feature flags.
channels: ChannelRegistryImmutable Channel bindings (factories realized at start).
tools: HostToolRegistryImmutable host tool shell (empty allowed).
Auto Trait Implementations§
impl !RefUnwindSafe for RuntimeBootstrap
impl !UnwindSafe for RuntimeBootstrap
impl Freeze for RuntimeBootstrap
impl Send for RuntimeBootstrap
impl Sync for RuntimeBootstrap
impl Unpin for RuntimeBootstrap
impl UnsafeUnpin for RuntimeBootstrap
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