Skip to main content

Crate ff_core

Crate ff_core 

Source
Expand description

Core types, state enums, partition math, key builders, and error codes for FlowFabric.

Re-exports§

pub use engine_error::EngineError;
pub use engine_error::BackendError;
pub use engine_error::BackendErrorKind;
pub use backend::ScannerFilter;

Modules§

backend
Backend-trait supporting types (RFC-012 Stage 0).
capability
RFC-018 Stage A — backend capability discovery surface.
caps
Backend-shared capability matching predicate (RFC-v0.7 Q7).
completion_backend
The CompletionBackend trait — backend-agnostic completion subscription surface (issue #90).
contracts
Phase 1 function contracts — Args + Result types for each FCALL.
engine_backend
The EngineBackend trait — abstracting FlowFabric’s write surface.
engine_error
Typed engine-error surface (issue #58.6).
error
Error classification for FlowFabric.
handle_codec
Backend-agnostic codec for HandleOpaque payloads.
hash
Small, stable hash helpers shared across ff-sdk + ff-scheduler + ff-engine. Not security-sensitive — these are for cardinality reduction (log digests) and deterministic-but-spread iteration (partition-scan start offsets). A single source of truth avoids drift if the algorithm changes.
keys
partition
Partition families, keys, and routing helpers.
policy
state
stream_events
RFC-019 Stage C — Typed stream events.
stream_subscribe
RFC-019 Stage A/B/C — cross-backend stream-cursor subscription surface (shared primitives).
types
waitpoint_hmac
Consumer-facing import path for the waitpoint HMAC wire types and rotation args.