[−][src]Module kompact::component
Traits and structs for component API and internals
Structs
BlockingFuture | A future that is supposed to be blocking the component's execution until completed |
Component | A concrete component instance |
ComponentContext | The contextual object for a Kompact component |
ComponentCore | The core of a Kompact component |
ComponentDefinitionAccess | Gives access to the component definition within a future/async function |
ContextSystemHandle | The SystemHandle provided by a ComponentContext |
ExecuteResult | Statistics about the last invocation of execute. |
LockPoisoned | Error for when the component definition lock has been poisoned |
NonBlockingFuture | A future that is supposed to be polled while the component is running normally |
Enums
Handled | State transition indication at the end of a message or event handler |
SchedulingDecision | Indicates whether or not a component should be sent to the Scheduler |
Traits
AbstractComponent | An object-safe trait that exposes most of functionality of a |
ComponentDefinition | The core trait every component must implement |
ComponentLifecycle | A trait to customise handling of lifecycle events |
ComponentLogging | An abstraction over providers of Kompact loggers |
ComponentTraits | A trait bound alias for the trait required by the generic parameter of a Component |
CoreContainer | A trait for abstracting over structures that contain a component core |
DynamicComponentDefinition | Object-safe part of |
DynamicPortAccess | A mechanism for dynamically getting references to provided/required ports from a component. |
LockingProvideRef | Same as ProvideRef, but for instances that must be locked first |
LockingRequireRef | Same as RequireRef, but for instances that must be locked first |
Provide | A trait implementing handling of provided events of |
ProvideRef | A convenience abstraction over concrete port instance fields |
Require | A trait implementing handling of required events of |
RequireRef | A convenience abstraction over concrete port instance fields |
Functions
default_recovery_function | Kompact's default fault recovery policy is to simply ignore the fault |
Type Definitions
DynamicComponentDefinitionMutexGuard | Mutex guard guarding a |