pub struct StartedRuntime {
pub owner: RuntimeOwner,
pub handle: TransactionRuntimeHandle,
}Expand description
Result of a successful production start handshake.
Fields§
§owner: RuntimeOwnerUnique owner.
handle: TransactionRuntimeHandleCloneable control handle.
Implementations§
Source§impl StartedRuntime
impl StartedRuntime
Sourcepub fn start(bootstrap: RuntimeBootstrap) -> Result<Self, StartupError>
pub fn start(bootstrap: RuntimeBootstrap) -> Result<Self, StartupError>
Production start: owns a dedicated multi-thread Tokio executor.
Auto Trait Implementations§
impl !RefUnwindSafe for StartedRuntime
impl !UnwindSafe for StartedRuntime
impl Freeze for StartedRuntime
impl Send for StartedRuntime
impl Sync for StartedRuntime
impl Unpin for StartedRuntime
impl UnsafeUnpin for StartedRuntime
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