Enum mdbook_linkcheck::WarningPolicy
source · [−]pub enum WarningPolicy {
Ignore,
Warn,
Error,
}
Expand description
How should warnings be treated?
Variants
Ignore
Silently ignore them.
Warn
Warn the user, but don’t fail the linkcheck.
Error
Treat warnings as errors.
Trait Implementations
sourceimpl Clone for WarningPolicy
impl Clone for WarningPolicy
sourcefn clone(&self) -> WarningPolicy
fn clone(&self) -> WarningPolicy
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for WarningPolicy
impl Debug for WarningPolicy
sourceimpl Default for WarningPolicy
impl Default for WarningPolicy
sourcefn default() -> WarningPolicy
fn default() -> WarningPolicy
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for WarningPolicy
impl<'de> Deserialize<'de> for WarningPolicy
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<WarningPolicy> for WarningPolicy
impl PartialEq<WarningPolicy> for WarningPolicy
sourcefn eq(&self, other: &WarningPolicy) -> bool
fn eq(&self, other: &WarningPolicy) -> bool
sourceimpl Serialize for WarningPolicy
impl Serialize for WarningPolicy
impl Copy for WarningPolicy
impl StructuralPartialEq for WarningPolicy
Auto Trait Implementations
impl RefUnwindSafe for WarningPolicy
impl Send for WarningPolicy
impl Sync for WarningPolicy
impl Unpin for WarningPolicy
impl UnwindSafe for WarningPolicy
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more