pub enum RuntimeBuildMode {
StandaloneEphemeral,
SessionOwned(SessionRuntimeBindings),
}Expand description
Discriminant for how the factory should resolve async-operation lifecycle resources.
StandaloneEphemeral: factory creates local-only ephemeral bindings. Suitable for WASM, tests, embedded, and doc examples.SessionOwned: factory consumes pre-created bindings from the runtime epoch owner. Never creates a competing registry.
Variants§
StandaloneEphemeral
Standalone: factory creates local-only ephemeral bindings.
SessionOwned(SessionRuntimeBindings)
Runtime-backed: factory consumes pre-created bindings. The epoch_id and session_id serve as identity witnesses.
Trait Implementations§
Source§impl Clone for RuntimeBuildMode
impl Clone for RuntimeBuildMode
Auto Trait Implementations§
impl Freeze for RuntimeBuildMode
impl !RefUnwindSafe for RuntimeBuildMode
impl Send for RuntimeBuildMode
impl Sync for RuntimeBuildMode
impl Unpin for RuntimeBuildMode
impl UnsafeUnpin for RuntimeBuildMode
impl !UnwindSafe for RuntimeBuildMode
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