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 PartialEq for DiagnosticSeverity
[src]
fn eq(&self, __arg_0: &DiagnosticSeverity) -> bool
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
This method tests for !=
.
impl Clone for DiagnosticSeverity
[src]
fn clone(&self) -> DiagnosticSeverity
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for DiagnosticSeverity
[src]
impl Deserialize for DiagnosticSeverity
[src]
fn deserialize<D>(deserializer: &mut D) -> Result<Self, D::Error> where D: Deserializer
Deserialize this value given this Deserializer
.
impl Serialize for DiagnosticSeverity
[src]
fn serialize<S>(&self, serializer: &mut S) -> Result<(), S::Error> where S: Serializer
Serializes this value into this serializer.