Struct linkcheck::BasicContext[][src]

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

A basic Context implementation which uses all the defaults.

Fields

options: Options

Options used when validating filesystem links.

Implementations

impl BasicContext[src]

pub const USER_AGENT: &'static str[src]

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

pub fn with_client(client: Client) -> Self[src]

Create a BasicContext with an already initialized Client.

pub fn options_mut(&mut self) -> &mut Options[src]

👎 Deprecated:

Access the field directly instead

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

Trait Implementations

impl Context for BasicContext[src]

impl Debug for BasicContext[src]

impl Default for BasicContext[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.