Enum kailua_diag::report::Kind [] [src]

pub enum Kind {
    Note,
    Info,
    Cause,
    Warning,
    Error,
    Fatal,
}

The diagnostic category.

Some categories can be nested in other category like this:

[Error] The root message
  [Cause] More detailed cause
    [Cause] Even more detailed cause
      [Note] Hints or additional spans for the innermost cause
    [Cause] Multiple causes can exist at the same level
  [Note] Hints or additional spans for the root message

Variants

A note following other reports.

Normally used when there are multiple spans need to be displayed.

An informative message.

This is not generated by any default procedure and can only be issued with a flag or manual intervention.

An item following other reports, used for causes of prior warnings or errors.

A warning indicating a possible problem which does not directly lead an error.

An error indicating a definitive problem.

The report is considered a failure from this point, but won't block the following procedure.

So severe error that the process cannot proceed (in principle).

In practice this category is extremely rare and is highly discouraged.

Methods

impl Kind
[src]

Trait Implementations

impl Copy for Kind
[src]

impl Clone for Kind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Kind
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Kind
[src]

impl PartialOrd for Kind
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for Kind
[src]

This method returns an Ordering between self and other. Read more

impl Hash for Kind
[src]

Feeds this value into the given [Hasher]. Read more

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

impl Debug for Kind
[src]

Formats the value using the given formatter.