Re-exports§
pub use streaming_manager::ConnectionLimitErrorCallback;pub use streaming_manager::FallbackCallback;pub use streaming_manager::FlagDeleteCallback;pub use streaming_manager::FlagUpdateCallback;pub use streaming_manager::FlagsResetCallback;pub use streaming_manager::StreamErrorCode;pub use streaming_manager::StreamErrorData;pub use streaming_manager::StreamingConfig;pub use streaming_manager::StreamingManager;pub use streaming_manager::StreamingState;pub use streaming_manager::SubscriptionErrorCallback;
Modules§
Structs§
- Batch
Events Request - Request body for batch event submission.
- Batch
Events Response - Response from batch event submission.
- Bootstrap
Config - Bootstrap configuration with optional signature verification.
- Bootstrap
Verification Config - Configuration for bootstrap value verification.
- Cache
- Thread-safe cache with TTL and LRU eviction.
- Context
Manager - Manages global and per-evaluation context.
- Evaluation
Jitter Config - Configuration for evaluation jitter to protect against cache timing attacks.
- Event
- An analytics event.
- Event
Queue - Event queue for batching and sending analytics events.
- Event
Queue Config - Configuration for the event queue.
- Event
Queue Config Builder - Builder for EventQueueConfig.
- Flag
Cache - Flag-specific cache with TTL and stale value support.
- Flag
KitOptions - Flag
KitOptions Builder - Polling
Config - Configuration for the polling manager.
- Polling
Config Builder - Builder for PollingConfig.
- Polling
Manager - Manages background polling for flag updates.
Constants§
- DEFAULT_
BACKOFF_ MULTIPLIER - Default backoff multiplier.
- DEFAULT_
BATCH_ SIZE - Default batch size (number of events before auto-flush).
- DEFAULT_
CACHE_ TTL - DEFAULT_
CIRCUIT_ BREAKER_ RESET_ TIMEOUT - DEFAULT_
CIRCUIT_ BREAKER_ THRESHOLD - DEFAULT_
EVENT_ BATCH_ SIZE - DEFAULT_
EVENT_ FLUSH_ INTERVAL - DEFAULT_
FLUSH_ INTERVAL_ SECS - Default flush interval in seconds.
- DEFAULT_
JITTER_ MS - Default jitter in milliseconds.
- DEFAULT_
MAX_ CACHE_ SIZE - DEFAULT_
MAX_ INTERVAL_ SECS - Default maximum interval in seconds.
- DEFAULT_
MAX_ QUEUE_ SIZE - Default maximum queue size.
- DEFAULT_
POLLING_ INTERVAL - DEFAULT_
POLLING_ INTERVAL_ SECS - Default polling interval in seconds.
- DEFAULT_
RETRY_ ATTEMPTS - DEFAULT_
TIMEOUT
Type Aliases§
- Event
Sender - Callback type for sending events.
- Poll
Callback - Callback type for poll operations.