pub struct DefaultLoopRuntime;Expand description
Default runtime factory.
Implementations§
Source§impl DefaultLoopRuntime
impl DefaultLoopRuntime
Sourcepub fn start(&self, request: StartLoop) -> Result<LoopHandle, LoopError>
pub fn start(&self, request: StartLoop) -> Result<LoopHandle, LoopError>
Start a loop with EmptyToolRegistry + NoToolRuntime defaults available via helpers.
Sourcepub fn start_empty(
&self,
monoloop_run_id: MonoloopRunId,
loop_id: LoopId,
scope: LoopScope,
subscription: CanonicalEventSubscription,
limits: LoopLimits,
) -> Result<LoopHandle, LoopError>
pub fn start_empty( &self, monoloop_run_id: MonoloopRunId, loop_id: LoopId, scope: LoopScope, subscription: CanonicalEventSubscription, limits: LoopLimits, ) -> Result<LoopHandle, LoopError>
Convenience: empty-tool composition.
Trait Implementations§
Source§impl Clone for DefaultLoopRuntime
impl Clone for DefaultLoopRuntime
Source§fn clone(&self) -> DefaultLoopRuntime
fn clone(&self) -> DefaultLoopRuntime
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DefaultLoopRuntime
impl Debug for DefaultLoopRuntime
Source§impl Default for DefaultLoopRuntime
impl Default for DefaultLoopRuntime
Source§fn default() -> DefaultLoopRuntime
fn default() -> DefaultLoopRuntime
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DefaultLoopRuntime
impl RefUnwindSafe for DefaultLoopRuntime
impl Send for DefaultLoopRuntime
impl Sync for DefaultLoopRuntime
impl Unpin for DefaultLoopRuntime
impl UnsafeUnpin for DefaultLoopRuntime
impl UnwindSafe for DefaultLoopRuntime
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