pub struct ReactiveFlowManagerImpl { /* private fields */ }
Trait Implementations§
Source§impl Component for ReactiveFlowManagerImpl
impl Component for ReactiveFlowManagerImpl
Source§impl ComponentDowncast<ReactiveFlowManagerImpl> for ReactiveFlowManagerImpl
impl ComponentDowncast<ReactiveFlowManagerImpl> for ReactiveFlowManagerImpl
Source§impl ComponentDowncast<ReactiveFlowManagerImpl> for dyn ReactiveFlowManager + Sync + Send
impl ComponentDowncast<ReactiveFlowManagerImpl> for dyn ReactiveFlowManager + Sync + Send
Source§impl Lifecycle for ReactiveFlowManagerImpl
impl Lifecycle for ReactiveFlowManagerImpl
Source§fn init<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn init<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Called at initialization
Source§fn shutdown<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn shutdown<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Called for shutdown
Source§impl ReactiveFlowManager for ReactiveFlowManagerImpl
impl ReactiveFlowManager for ReactiveFlowManagerImpl
Source§fn get(&self, id: Uuid) -> Option<ReactiveFlow>
fn get(&self, id: Uuid) -> Option<ReactiveFlow>
Returns the flow instance with the given UUID or None.
Source§fn get_by_label(&self, label: &str) -> Option<ReactiveFlow>
fn get_by_label(&self, label: &str) -> Option<ReactiveFlow>
Returns the flow instance that matches the given label or None.
Source§fn get_by_type(&self, ty: &FlowTypeId) -> Vec<ReactiveFlow>
fn get_by_type(&self, ty: &FlowTypeId) -> Vec<ReactiveFlow>
Returns all reactive entity instances of the given type.
Source§fn count_flow_instances(&self) -> usize
fn count_flow_instances(&self) -> usize
Returns the count of registered reactive flow instances.
Source§fn create_reactive_flow(
&self,
flow_instance: FlowInstance,
) -> Result<ReactiveFlow, ReactiveFlowCreationError>
fn create_reactive_flow( &self, flow_instance: FlowInstance, ) -> Result<ReactiveFlow, ReactiveFlowCreationError>
Creates a new reactive flow instance from the given flow instance descriptor. Read more
Source§fn create_from_type(
&self,
ty: &FlowTypeId,
id: Option<Uuid>,
variables: PropertyInstances,
properties: PropertyInstances,
) -> Result<ReactiveFlow, ReactiveFlowCreationError>
fn create_from_type( &self, ty: &FlowTypeId, id: Option<Uuid>, variables: PropertyInstances, properties: PropertyInstances, ) -> Result<ReactiveFlow, ReactiveFlowCreationError>
Create a new reactive flow instance from the flow type by the given name. Read more
Source§fn register_flow_instance_and_reactive_instances(
&self,
reactive_flow_instance: ReactiveFlow,
)
fn register_flow_instance_and_reactive_instances( &self, reactive_flow_instance: ReactiveFlow, )
Registers the given reactive flow instance and registers all of the reactive instances
contained in the given reactive flow instance.
Source§fn register_flow_instance(&self, reactive_flow_instance: ReactiveFlow)
fn register_flow_instance(&self, reactive_flow_instance: ReactiveFlow)
Registers the given reactive flow instance. Does not register it’s reactive instances except
the wrapper entity.
Source§fn register_provider(&self, id: Uuid, provider: Arc<dyn FlowInstanceProvider>)
fn register_provider(&self, id: Uuid, provider: Arc<dyn FlowInstanceProvider>)
Registers a flow instance provider.
Source§fn unregister_provider(&self, id: &Uuid)
fn unregister_provider(&self, id: &Uuid)
Unregisters a flow instance provider.
impl Injectable for ReactiveFlowManagerImpl
Auto Trait Implementations§
impl !Freeze for ReactiveFlowManagerImpl
impl !RefUnwindSafe for ReactiveFlowManagerImpl
impl Send for ReactiveFlowManagerImpl
impl Sync for ReactiveFlowManagerImpl
impl Unpin for ReactiveFlowManagerImpl
impl !UnwindSafe for ReactiveFlowManagerImpl
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more