pub trait EngineManager: Clone {
    // Required method
    fn send_modeling_cmd<'life0, 'async_trait>(
        &'life0 self,
        id: Uuid,
        source_range: SourceRange,
        cmd: ModelingCmd
    ) -> Pin<Box<dyn Future<Output = Result<OkWebSocketResponseData, KclError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn send_modeling_cmd<'life0, 'async_trait>( &'life0 self, id: Uuid, source_range: SourceRange, cmd: ModelingCmd ) -> Pin<Box<dyn Future<Output = Result<OkWebSocketResponseData, KclError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Send a modeling command and wait for the response message.

Object Safety§

This trait is not object safe.

Implementors§