fluxion-core-0.2.0 has been yanked.
fluxion-core
Part of Fluxion - A reactive stream processing library for Rust
Core traits and types for ordered stream processing in async Rust.
Overview
This crate provides the foundational abstractions used throughout the Fluxion ecosystem:
Orderedtrait: Temporal ordering for stream items via sequence numbersOrderedItem<T>: Default implementation ofOrdered- Lock utilities: Safe mutex operations with error propagation
Key Types
Ordered Trait
The Ordered trait enables temporal ordering guarantees across stream operations:
OrderedItem
A ready-to-use implementation of Ordered:
use ;
let item = new;
assert_eq!;
assert_eq!;
Lock Utilities
Safe mutex lock acquisition with error propagation:
use lock_or_error;
use ;
let mutex = new;
let mut guard = lock_or_error?;
guard.push;
Usage
Add this to your Cargo.toml:
[]
= "0.2.0"
License
Apache-2.0