pub struct Supervisor<L: DecisionLog, R: RuntimeInvoker> { /* private fields */ }Implementations§
Source§impl<L: DecisionLog> Supervisor<L, RuntimeHandle>
impl<L: DecisionLog> Supervisor<L, RuntimeHandle>
pub fn new( graph_id: GraphId, constraints: Constraints, decision_log: L, graph: Arc<ExpandedGraph>, catalog: Arc<CorePrimitiveCatalog>, registries: Arc<CoreRegistries>, ) -> Self
Source§impl<L: DecisionLog, R: RuntimeInvoker> Supervisor<L, R>
impl<L: DecisionLog, R: RuntimeInvoker> Supervisor<L, R>
pub fn with_runtime( graph_id: GraphId, constraints: Constraints, decision_log: L, runtime: R, ) -> Self
pub fn on_event(&mut self, event: ExternalEvent)
Auto Trait Implementations§
impl<L, R> Freeze for Supervisor<L, R>
impl<L, R> RefUnwindSafe for Supervisor<L, R>where
L: RefUnwindSafe,
R: RefUnwindSafe,
impl<L, R> Send for Supervisor<L, R>
impl<L, R> Sync for Supervisor<L, R>
impl<L, R> Unpin for Supervisor<L, R>
impl<L, R> UnsafeUnpin for Supervisor<L, R>where
L: UnsafeUnpin,
R: UnsafeUnpin,
impl<L, R> UnwindSafe for Supervisor<L, R>where
L: UnwindSafe,
R: UnwindSafe,
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