Enum languageserver_types::DiagnosticSeverity
[−]
[src]
pub enum DiagnosticSeverity { Error, Warning, Information, Hint, }
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
impl Debug for DiagnosticSeverity
[src]
impl Eq for DiagnosticSeverity
[src]
impl PartialEq for DiagnosticSeverity
[src]
fn eq(&self, __arg_0: &DiagnosticSeverity) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Clone for DiagnosticSeverity
[src]
fn clone(&self) -> DiagnosticSeverity
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for DiagnosticSeverity
[src]
impl<'de> Deserialize<'de> for DiagnosticSeverity
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more