pub struct StrategyService { /* private fields */ }Implementations§
Source§impl StrategyService
impl StrategyService
pub fn open(portable_root: &Path) -> Result<Self>
pub fn from_parts( portable_root: PathBuf, store: StrategyStore, importer: StrategyPackageImporter, ) -> Self
Sourcepub fn with_host_ports(self, ports: HostPorts) -> Self
pub fn with_host_ports(self, ports: HostPorts) -> Self
Replace the whole host composition for this service.
Sourcepub fn host_ports(&self) -> &HostPorts
pub fn host_ports(&self) -> &HostPorts
The host composition this service reads.
pub fn with_actor_turn_port(self, actor_port: ActorTurnPort) -> Self
pub fn with_assistant_wake_port(self, assistant_wake: AssistantWakePort) -> Self
pub fn store(&self) -> &StrategyStore
Sourcepub fn execute(&self, request: Value) -> Result<Value>
pub fn execute(&self, request: Value) -> Result<Value>
Execute one bridge action. Errors are converted to bounded typed facts; raw paths, process output and adapter errors never cross this boundary. Conversation-bound package import failures use the same master-agent callback event as an imported run terminal: one schema, no second protocol.
Trait Implementations§
Source§impl Clone for StrategyService
impl Clone for StrategyService
Auto Trait Implementations§
impl !RefUnwindSafe for StrategyService
impl !UnwindSafe for StrategyService
impl Forget for StrategyService
impl Freeze for StrategyService
impl Move for StrategyService
impl Send for StrategyService
impl Sync for StrategyService
impl Unpin for StrategyService
impl UnsafeUnpin for StrategyService
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