pub async fn bootstrap_from_snapshot<S, L>(
loader: &L,
service: &S,
) -> Result<Option<(i64, HashMap<String, HashMap<i32, i64>>)>, SnapshotError>Expand description
Bootstrap a service from its latest snapshot.
Returns the snapshot ID and offsets if a snapshot was restored, or None if no snapshot exists.