Function tor_hsservice::ipt_mgr::persist::load

source ยท
pub(super) fn load<R: Runtime, M: Mockable<R>>(
    imm: &Immutable<R>,
    storage: &StorageHandle<StateRecord>,
    config: &Receiver<Arc<OnionServiceConfig>>,
    mockable: &mut M,
    publish_set: &PublishIptSet
) -> Result<Vec<IptRelay>, StartupError>
Expand description

Load the IPTs from the persistent state

publish_set should already have been loaded from its persistent state.