pub enum DiagnosticSeverity {
Error,
Warning,
Information,
Hint,
}
Expand description
The protocol currently supports the following diagnostic severities:
Variants§
Error
Reports an error.
Warning
Reports a warning.
Information
Reports an information.
Hint
Reports a hint.
Trait Implementations§
source§impl Clone for DiagnosticSeverity
impl Clone for DiagnosticSeverity
source§fn clone(&self) -> DiagnosticSeverity
fn clone(&self) -> DiagnosticSeverity
Returns a copy 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 DiagnosticSeverity
impl Debug for DiagnosticSeverity
source§impl<'de> Deserialize<'de> for DiagnosticSeverity
impl<'de> Deserialize<'de> for DiagnosticSeverity
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