Module linkcheck::validation[][src]

Expand description

Code for validating the various types of Link.

Structs

A basic Context implementation which uses all the defaults.

A cache used to skip unnecessary network requests.

A timestamped boolean used by the Cache to keep track of the last time a web crate::Link was checked.

A Link and the Reason why it is invalid.

Options to be used with resolve_link().

The result of validating a batch of Links.

Enums

Possible reasons for a bad link.

Traits

Contextual information that callers can provide to guide the validation process.

Functions

Check whether a Path points to a valid file on disk.

Check whether a Url points to a valid resource on the internet.

getDeprecated

Send a HEAD request to a particular endpoint.

Send a HEAD request to a particular endpoint.

Try to resolve a link relative to the current directory.

Validate several Links relative to a particular directory.