pub struct Orchestrator { /* private fields */ }Expand description
Main entry point for the orchestration event loop.
Implementations§
Source§impl Orchestrator
impl Orchestrator
pub async fn new() -> Result<Orchestrator, Error>
Sourcepub async fn run(
&mut self,
input_rx: Receiver<BrainstemInput>,
output_tx: Sender<BrainstemOutput>,
) -> Result<(), Error>
pub async fn run( &mut self, input_rx: Receiver<BrainstemInput>, output_tx: Sender<BrainstemOutput>, ) -> Result<(), Error>
Run the main event loop Consumes BrainstemInput stream, produces BrainstemOutput stream
Auto Trait Implementations§
impl Freeze for Orchestrator
impl !RefUnwindSafe for Orchestrator
impl Send for Orchestrator
impl Sync for Orchestrator
impl Unpin for Orchestrator
impl !UnwindSafe for Orchestrator
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