Crate fraktor_utils_core_rs

Crate fraktor_utils_core_rs 

Source
Expand description

Core utility collection.

Provides fundamental data structures such as mailboxes, synchronization primitives, and deadline-based processing intended for cross-runtime sharing, with no_std support. By interacting with actor-core through this crate, we maintain unidirectional dependencies, and each runtime only needs to satisfy the abstractions defined here with their own implementations.

Re-exports§

pub use sync::ArcShared;
pub use sync::Flag;
pub use sync::SendBound;
pub use sync::Shared;
pub use sync::SharedBound;
pub use sync::SharedDyn;
pub use sync::SharedFactory;
pub use sync::SharedFn;
pub use sync::StateCell;
pub use sync::StaticRefShared;

Modules§

collections
Core collections shared across the Cellex runtimes.
net
Network utilities for URI parsing. Network utilities for URI parsing and validation.
runtime_toolbox
Runtime toolbox abstraction selecting synchronization families.
sync
Synchronization primitives and shared ownership abstractions.

Structs§

AsyncBarrier
Structure providing synchronization barrier among async tasks.
CountDownLatch
Count-down latch synchronization primitive.
DeadLineTimerExpired
DeadlineTimer expiration event.
DeadLineTimerKey
Key for identifying items registered in a DeadlineTimer.
DeadLineTimerKeyAllocator
Allocator for generating DeadLineTimerKey values.
DelayFuture
Future that resolves once its associated delay has elapsed.
GuardHandle
Handle that wraps a guard object.
ManualDelayProvider
Manual provider used in tests to deterministically complete delay futures.
Synchronized
Async synchronization primitive providing exclusive access.
SynchronizedRw
Async read/write synchronization primitive providing backend abstraction.
TimerDeadLine
A newtype representing a DeadlineTimer deadline.
WaitGroup
Synchronization primitive for waiting on multiple concurrent tasks.

Enums§

DeadLineTimerError
Errors that may occur during DeadLineTimer operations.

Traits§

AsyncBarrierBackend
Trait defining the backend implementation for async barriers.
CountDownLatchBackend
Trait defining the backend implementation for CountDownLatch.
DeadLineTimer
Trait abstracting DeadlineTimer behavior.
DelayProvider
Provider capable of creating delay futures backed by the current runtime.
SynchronizedMutexBackend
Backend trait for async mutex-like primitives.
SynchronizedRwBackend
Backend trait for async read/write lock primitives.
WaitGroupBackend
Backend trait for wait-group implementations.