Skip to main content

metadata_only_with_options

Function metadata_only_with_options 

Source
pub async fn metadata_only_with_options(
    ref_: &Ref,
    profile: &CapabilityProfile,
    ctx: &FetchContext,
    opts: MetadataOnlyOptions,
) -> Result<MetadataOnlyOutcome, FetchError>
Expand description

metadata_only, with the caller choosing what it is willing to spend.

ยงErrors

As metadata_only. A failure of the optional OA-location lookup is not an error here: see MetadataOnlyOptions.