Enum languageserver_types::DiagnosticSeverity[][src]

pub enum DiagnosticSeverity {
    Error,
    Warning,
    Information,
    Hint,
}

The protocol currently supports the following diagnostic severities:

Variants

Reports an error.

Reports a warning.

Reports an information.

Reports a hint.

Trait Implementations

impl Debug for DiagnosticSeverity
[src]

Formats the value using the given formatter. Read more

impl Eq for DiagnosticSeverity
[src]

impl PartialEq for DiagnosticSeverity
[src]

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

This method tests for !=.

impl Clone for DiagnosticSeverity
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for DiagnosticSeverity
[src]

impl<'de> Deserialize<'de> for DiagnosticSeverity
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for DiagnosticSeverity
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations