Struct RuntimeImpl

Source
pub struct RuntimeImpl { /* private fields */ }

Trait Implementations§

Source§

impl BehaviourSystem for RuntimeImpl

Source§

fn get_entity_behaviour_manager( &self, ) -> Arc<dyn EntityBehaviourManager + Send + Sync>

Source§

fn get_entity_behaviour_registry( &self, ) -> Arc<dyn EntityBehaviourRegistry + Send + Sync>

Source§

fn get_entity_component_behaviour_manager( &self, ) -> Arc<dyn EntityComponentBehaviourManager + Send + Sync>

Source§

fn get_entity_component_behaviour_registry( &self, ) -> Arc<dyn EntityComponentBehaviourRegistry + Send + Sync>

Source§

fn get_relation_behaviour_manager( &self, ) -> Arc<dyn RelationBehaviourManager + Send + Sync>

Source§

fn get_relation_behaviour_registry( &self, ) -> Arc<dyn RelationBehaviourRegistry + Send + Sync>

Source§

fn get_relation_component_behaviour_manager( &self, ) -> Arc<dyn RelationComponentBehaviourManager + Send + Sync>

Source§

fn get_relation_component_behaviour_registry( &self, ) -> Arc<dyn RelationComponentBehaviourRegistry + Send + Sync>

Source§

fn type_system(&self) -> Arc<dyn TypeSystem + Send + Sync>

Source§

impl CommandSystem for RuntimeImpl

Source§

fn get_command_manager(&self) -> Arc<dyn CommandManager + Send + Sync>

Source§

fn get_command_type_provider( &self, ) -> Arc<dyn CommandTypeProvider + Send + Sync>

Source§

fn type_system(&self) -> Arc<dyn TypeSystem + Send + Sync>

Source§

fn reactive_system(&self) -> Arc<dyn ReactiveSystem + Send + Sync>

Source§

impl Component for RuntimeImpl

Source§

fn create( instance_provider: &mut dyn ComponentInstanceProvider, ) -> Result<Self, ComponentInstanceProviderError>

Creates an instance of this component using dependencies from given [ComponentInstanceProvider].
Source§

impl ComponentDowncast<RuntimeImpl> for RuntimeImpl

Source§

fn downcast( source: ComponentInstanceAnyPtr, ) -> Result<ComponentInstancePtr<Self>, ComponentInstanceAnyPtr>

Source§

impl ComponentDowncast<RuntimeImpl> for dyn Runtime + Sync + Send

Source§

fn downcast( source: ComponentInstanceAnyPtr, ) -> Result<ComponentInstancePtr<Self>, ComponentInstanceAnyPtr>

Source§

impl ConfigSystem for RuntimeImpl

Source§

fn get_config_manager(&self) -> Arc<dyn ConfigManager + Send + Sync>

Source§

impl DynamicGraphSystem for RuntimeImpl

Source§

fn get_dynamic_graph_query_service( &self, ) -> Arc<dyn DynamicGraphQueryService + Send + Sync>

Source§

fn get_dynamic_graph_schema_manager( &self, ) -> Arc<dyn DynamicGraphSchemaManager + Send + Sync>

Source§

fn type_system(&self) -> Arc<dyn TypeSystem + Send + Sync>

Source§

fn reactive_system(&self) -> Arc<dyn ReactiveSystem + Send + Sync>

Source§

impl GraphQLSystem for RuntimeImpl

Source§

fn get_graphql_query_service( &self, ) -> Arc<dyn GraphQLQueryService + Send + Sync>

Source§

fn get_graphql_schema_manager( &self, ) -> Arc<dyn GraphQLSchemaManager + Send + Sync>

Source§

impl InstanceSystem for RuntimeImpl

Source§

fn get_entity_instance_import_export_manager( &self, ) -> Arc<dyn EntityInstanceImportExportManager + Send + Sync>

Source§

fn get_relation_instance_import_export_manager( &self, ) -> Arc<dyn RelationInstanceImportExportManager + Send + Sync>

Source§

fn reactive_system(&self) -> Arc<dyn ReactiveSystem + Send + Sync>

Source§

impl Lifecycle for RuntimeImpl

Source§

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 post_init<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Called after initialization
Source§

fn pre_shutdown<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Called before shutdown
Source§

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 PluginGraphQLSystem for RuntimeImpl

Source§

fn get_plugin_query_service(&self) -> Arc<dyn PluginQueryService + Send + Sync>

Source§

fn get_plugin_schema_manager( &self, ) -> Arc<dyn PluginSchemaManager + Send + Sync>

Source§

impl PluginSystem for RuntimeImpl

Source§

fn get_plugin_context_factory( &self, ) -> Arc<dyn PluginContextFactory + Send + Sync>

Source§

fn get_plugin_container_manager( &self, ) -> Arc<dyn PluginContainerManager + Send + Sync>

Source§

fn get_plugin_repository_manager( &self, ) -> Arc<dyn PluginRepositoryManager + Send + Sync>

Source§

fn get_plugin_resolver(&self) -> Arc<dyn PluginResolver + Send + Sync>

Source§

impl ReactiveSystem for RuntimeImpl

Source§

fn get_reactive_entity_manager( &self, ) -> Arc<dyn ReactiveEntityManager + Send + Sync>

Source§

fn get_reactive_flow_manager( &self, ) -> Arc<dyn ReactiveFlowManager + Send + Sync>

Source§

fn get_reactive_relation_manager( &self, ) -> Arc<dyn ReactiveRelationManager + Send + Sync>

Source§

fn get_reactive_instance_event_manager( &self, ) -> Arc<dyn ReactiveInstanceEventManager + Send + Sync>

Source§

fn type_system(&self) -> Arc<dyn TypeSystem + Send + Sync>

Source§

fn behaviour_system(&self) -> Arc<dyn BehaviourSystem + Send + Sync>

Source§

impl RemotesSystem for RuntimeImpl

Source§

fn get_instance_service(&self) -> Arc<dyn InstanceService + Send + Sync>

Source§

fn get_remotes_manager(&self) -> Arc<dyn RemotesManager + Send + Sync>

Source§

fn config_system(&self) -> Arc<dyn ConfigSystem + Send + Sync>

Source§

impl Runtime for RuntimeImpl

Source§

fn config<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn run<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn stop(&self)

Source§

fn is_running(&self) -> bool

Source§

fn wait_for_started<'life0, 'async_trait>( &'life0 self, timeout_duration: Duration, ) -> Pin<Box<dyn Future<Output = Result<(), Elapsed>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Waits for the GraphQL server to be started. Times out if the GraphQL server is not running after the given duration.
Source§

fn wait_for_stopped<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Waits for the GraphQL server has been stopped.
Source§

fn wait_for_stopped_with_timeout<'life0, 'async_trait>( &'life0 self, timeout_duration: Duration, ) -> Pin<Box<dyn Future<Output = Result<(), Elapsed>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Waits for the GraphQL server has been stopped. Times out if the GraphQL server is still running after the given duration.
Source§

fn address(&self) -> InstanceAddress

Returns the address of the runtime.
Source§

impl RuntimeGraphQLSystem for RuntimeImpl

Source§

fn get_runtime_query_service( &self, ) -> Arc<dyn RuntimeQueryService + Send + Sync>

Source§

fn get_runtime_schema_manager( &self, ) -> Arc<dyn RuntimeSchemaManager + Send + Sync>

Source§

impl RuntimeSystem for RuntimeImpl

Source§

fn get_shutdown_manager(&self) -> Arc<dyn ShutdownManager + Send + Sync>

Source§

impl TypeSystem for RuntimeImpl

Source§

fn get_component_manager(&self) -> Arc<dyn ComponentManager + Send + Sync>

Source§

fn get_component_import_export_manager( &self, ) -> Arc<dyn ComponentImportExportManager + Send + Sync>

Source§

fn get_component_provider_registry( &self, ) -> Arc<dyn ComponentProviderRegistry + Send + Sync>

Source§

fn get_entity_type_manager(&self) -> Arc<dyn EntityTypeManager + Send + Sync>

Source§

fn get_entity_type_import_export_manager( &self, ) -> Arc<dyn EntityTypeImportExportManager + Send + Sync>

Source§

fn get_entity_type_provider_registry( &self, ) -> Arc<dyn EntityTypeProviderRegistry + Send + Sync>

Source§

fn get_flow_type_manager(&self) -> Arc<dyn FlowTypeManager + Send + Sync>

Source§

fn get_flow_type_import_export_manager( &self, ) -> Arc<dyn FlowTypeImportExportManager + Send + Sync>

Source§

fn get_flow_type_provider_registry( &self, ) -> Arc<dyn FlowTypeProviderRegistry + Send + Sync>

Source§

fn get_namespace_manager(&self) -> Arc<dyn NamespaceManager + Send + Sync>

Source§

fn get_relation_type_manager( &self, ) -> Arc<dyn RelationTypeManager + Send + Sync>

Source§

fn get_relation_type_import_export_manager( &self, ) -> Arc<dyn RelationTypeImportExportManager + Send + Sync>

Source§

fn get_relation_type_provider_registry( &self, ) -> Arc<dyn RelationTypeProviderRegistry + Send + Sync>

Source§

fn get_type_system_event_manager( &self, ) -> Arc<dyn TypeSystemEventManager + Send + Sync>

Source§

impl WebSystem for RuntimeImpl

Source§

fn get_graphql_server(&self) -> Arc<dyn GraphQLServer + Send + Sync>

Source§

fn get_web_resource_manager(&self) -> Arc<dyn WebResourceManager + Send + Sync>

Source§

fn type_system(&self) -> Arc<dyn TypeSystem + Send + Sync>

Source§

fn reactive_system(&self) -> Arc<dyn ReactiveSystem + Send + Sync>

Source§

fn config_system(&self) -> Arc<dyn ConfigSystem + Send + Sync>

Source§

fn runtime_graphql_system(&self) -> Arc<dyn RuntimeGraphQLSystem + Send + Sync>

Source§

fn plugin_graphql_system(&self) -> Arc<dyn PluginGraphQLSystem + Send + Sync>

Source§

fn dynamic_graph_system(&self) -> Arc<dyn DynamicGraphSystem + Send + Sync>

Source§

fn graphql_system(&self) -> Arc<dyn GraphQLSystem + Send + Sync>

Source§

impl Injectable for RuntimeImpl

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
§

impl<T> Pointable for T

§

const ALIGN: usize

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
§

impl<T> PolicyExt for T
where T: ?Sized,

§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] only if self and other return Action::Follow. Read more
§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSendSync for T