Module core

Source
Expand description

Core namespace for Nerve Framework

Provides core traits, types, and error handling that form the foundation of the entire framework.

Modules§

errors
Core error definitions for Nerve Framework
fast_message
Fast Message Types for High-Performance Communication
prelude
Core prelude for convenient imports
static_message
Zero-Copy Static Message Types for Maximum Performance
traits
Core trait definitions for Nerve Framework
types
Core type definitions for Nerve Framework
utils
Error handling utilities

Macros§

static_msg
Macro for creating static messages at compile time

Structs§

ComponentId
Component identifier
ComponentRegistry
Component registry for managing loaded components
ConsoleErrorReporter
Simple console error reporter
ContextualError
Error wrapper with context
ErrorContext
Error context for detailed error reporting
MessageArena
Arena-based message allocator for dynamic content
MessagePool
Message pool for reusing message instances
NodeHealthSummary
Node health summary
NodeInfo
Node information
NodeStatistics
Node statistics
PluginContext
Plugin context for component initialization
PublishingStatistics
Publishing statistics
QoSCharacteristics
QoS characteristics
RoutingStatistics
Routing statistics
SystemConfig
System configuration parameters
SystemStatistics
Performance statistics
ThreadDetails
Thread details for monitoring
TopicPattern
Topic pattern for message routing

Enums§

BufferMode
Buffer operation modes
ComponentType
Component types
CoordinationStatus
Coordination status
ErrorSeverity
Error severity levels
FastMessage
Fast message variant for high-performance operations
Message
Message types for communication
NerveError
Core error type for Nerve Framework components
NodeHealth
Node health status
NodeType
Node types in the system
QoS
Quality of Service (QoS) levels for message delivery
StaticMessage
Zero-copy message variant for maximum performance
SystemHealth
System health status
ThreadHealth
Thread health status
ThreadState
Thread lifecycle states

Traits§

CommunicationComponent
Communication component interface
ComponentFactory
Component factory for creating component instances
ErrorExt
Error conversion utilities
ErrorReporter
Error reporting interface
MemoryBufferFactory
Memory buffer factory interface
MemoryComponent
Memory management component interface
MemoryPool
Memory pool interface
MessageBuffer
Message buffer interface
MessageHandler
Message handler interface
MessageRouter
Message router interface
NerveComponent
Base trait for all components
NervePlugin
Plugin interface for dynamic component loading
NodeComponent
Node management component interface
NodeRegistry
Node registry interface
Publisher
Publisher interface
QoSComponent
QoS component interface
RequestResponse
Request-response interface
Subscriber
Subscriber interface
SubscriptionManager
Subscription manager interface
ThreadBarrier
Thread barrier interface
ThreadChannel
Thread channel interface
ThreadComponent
Thread management component interface
ThreadCondition
Thread condition variable interface
ThreadCoordinator
Thread coordinator interface
ThreadLifecycle
Thread lifecycle management interface
ThreadWatchdog
Thread watchdog interface

Type Aliases§

NerveResult
Result type for Nerve Framework operations