pub(crate) async fn load<R: Runtime>(
dirmgr: Arc<DirMgr<R>>,
state: Box<dyn DirState>,
attempt_id: AttemptId,
) -> Result<Box<dyn DirState>>
Expand description
Try to load as much state as possible for a provided state
from the
cache in dirmgr
, advancing the state to the extent possible.
No downloads are performed; the provided state will not be reset.