[][src]Enum parse_wiki_text::WarningMessage

pub enum WarningMessage {
    DefinitionTermContinuation,
    EndTagInComment,
    InvalidCharacter,
    InvalidHeadingSyntaxRewinding,
    InvalidLinkSyntax,
    InvalidParameterSyntax,
    InvalidTagSyntax,
    MissingEndTagRewinding,
    RepeatedEmptyLine,
    StrayTextInTable,
    TextAfterRedirect,
    UnexpectedEndTagRewinding,
    UnexpectedEndTag,
    UnexpectedHeadingLevelCorrecting,
    UnrecognizedTagName,
    UselessTextInParameter,
    UselessTextInRedirect,
}

Identifier for a kind of warning from the parser.

Variants

DefinitionTermContinuation

List broken by definition term.

EndTagInComment

End tag in comment.

InvalidCharacter

Invalid character.

InvalidHeadingSyntaxRewinding

Invalid heading syntax. Rewinding.

InvalidLinkSyntax

Invalid link syntax.

InvalidParameterSyntax

Invalid parameter syntax.

InvalidTagSyntax

Invalid tag syntax.

MissingEndTagRewinding

Missing end tag. Rewinding.

RepeatedEmptyLine

Repeated empty line.

StrayTextInTable

Stray text in table.

TextAfterRedirect

Wiki text comes after a redirect.

UnexpectedEndTagRewinding

The end tag does not match the last start tag. Rewinding.

UnexpectedEndTag

An end tag was found with no preceeding start tag.

UnexpectedHeadingLevelCorrecting

Expected heading of higher level. Correcting start of heading.

UnrecognizedTagName

A tag with an unrecognized tag name was found.

UselessTextInParameter

Useless text in parameter.

UselessTextInRedirect

Useless text in redirect.

Methods

impl WarningMessage[src]

pub fn message(self) -> &'static str[src]

Human-readable description of the warning.

Trait Implementations

impl PartialEq<WarningMessage> for WarningMessage[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Eq for WarningMessage[src]

impl Copy for WarningMessage[src]

impl Clone for WarningMessage[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for WarningMessage[src]

impl Display for WarningMessage[src]

impl Hash for WarningMessage[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

Blanket Implementations

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

impl<T> From for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.