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.

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 Deserialize for DiagnosticSeverity
[src]

Deserialize this value given this Deserializer.

impl Serialize for DiagnosticSeverity
[src]

Serializes this value into this serializer.