17 lines
382 B
Rust
17 lines
382 B
Rust
mod core;
|
|
mod model;
|
|
mod ordering;
|
|
mod store;
|
|
|
|
pub use core::{CacheAvailability, RtrCache, RtrCacheBuilder, SerialResult, SessionIds};
|
|
pub use model::{Delta, DualTime, Snapshot};
|
|
pub use ordering::{
|
|
OrderingViolation, validate_payload_updates_for_rtr, validate_payloads_for_rtr,
|
|
};
|
|
|
|
use std::sync::Arc;
|
|
|
|
use arc_swap::ArcSwap;
|
|
|
|
pub type SharedRtrCache = Arc<ArcSwap<RtrCache>>;
|