Skip to main content

within

Function within 

Source
async fn within(
    wait: Duration,
    pinned: bool,
    instance_id: &str,
    asking: impl Future<Output = Result<Path, String>>,
) -> Result<Path, String>
Expand description

asking, within wait. Past it the answer is exactly what it is when the directory cannot be asked at all (no sign-in): a pinned install is trusted as pinned (Path::PinnedInstance), claiming nothing from a lookup that did not happen, and an unpinned one is not trusted, with the reason. An install already known locally to be revoked was refused before this was asked.