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§
Source§impl Clone for WarningPolicy
impl Clone for WarningPolicy
Source§fn clone(&self) -> WarningPolicy
fn clone(&self) -> WarningPolicy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WarningPolicy
impl Debug for WarningPolicy
Source§impl Default for WarningPolicy
impl Default for WarningPolicy
Source§fn default() -> WarningPolicy
fn default() -> WarningPolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WarningPolicy
impl<'de> Deserialize<'de> for WarningPolicy
Source§fn 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
Source§impl PartialEq for WarningPolicy
impl PartialEq for WarningPolicy
Source§impl Serialize for WarningPolicy
impl Serialize for WarningPolicy
impl Copy for WarningPolicy
impl StructuralPartialEq for WarningPolicy
Auto Trait Implementations§
impl Freeze for WarningPolicy
impl RefUnwindSafe for WarningPolicy
impl Send for WarningPolicy
impl Sync for WarningPolicy
impl Unpin for WarningPolicy
impl UnwindSafe for WarningPolicy
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