Struct linkcheck::BasicContext[][src]

pub struct BasicContext {
    pub options: Options,
    // some fields omitted
}
Expand description

A basic Context implementation which uses all the defaults.

Fields

options: Options

Options used when validating filesystem links.

Implementations

The User-Agent used by the BasicContext::client().

Create a BasicContext with an already initialized Client.

👎 Deprecated:

Access the field directly instead

Get a mutable reference to the Options used when validating filesystem links.

Trait Implementations

The HTTP client to use.

Options to use when checking a link on the filesystem.

An optional cache that can be used to avoid unnecessary network requests. Read more

Get any extra headers that should be sent when checking this Url.

How many items should we check at a time?

How long should a cached item be considered valid for before we need to check again? Read more

Should this Link be skipped?

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more