diff options
Diffstat (limited to 'src/remake/mod.rs')
| -rw-r--r-- | src/remake/mod.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/remake/mod.rs b/src/remake/mod.rs index bd814da..1f7a644 100644 --- a/src/remake/mod.rs +++ b/src/remake/mod.rs @@ -217,6 +217,11 @@ pub(crate) trait Host: Clone + Send + Sync + 'static { #[cfg(feature = "federation")] fn holding(&self) -> Arc<crate::federation::held::Holding>; + /// The store this node's swarm holds, as its operator named it (`--store-id`, + /// `--store-root`), if any. + #[cfg(feature = "federation")] + fn store_id(&self) -> Option<crate::federation::store::Id>; + /// The epoch of the local replica. fn current_epoch(&self) -> Epoch; |
