pub enum HttpCheck {
Enabled,
Ignored,
Forbidden,
}Expand description
What behavior should deadlinks use for HTTP links?
Variants§
Enabled
Make an internet request to ensure the link works
Ignored
Do nothing when encountering a link
Forbidden
Give an error when encountering a link.
Note that even when HTTP links are forbidden, doc.rust-lang.org links are still assumed to
be valid.
Trait Implementations§
impl Copy for HttpCheck
impl Eq for HttpCheck
impl StructuralPartialEq for HttpCheck
Auto Trait Implementations§
impl Freeze for HttpCheck
impl RefUnwindSafe for HttpCheck
impl Send for HttpCheck
impl Sync for HttpCheck
impl Unpin for HttpCheck
impl UnwindSafe for HttpCheck
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more