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 Debug for DiagnosticSeverity
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for DiagnosticSeverity
[src]
impl Eq for DiagnosticSeverity
impl PartialEq for DiagnosticSeverity
[src]
impl PartialEq for DiagnosticSeverity
fn eq(&self, other: &DiagnosticSeverity) -> bool
[src]
fn eq(&self, other: &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[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Clone for DiagnosticSeverity
[src]
impl Clone for DiagnosticSeverity
fn clone(&self) -> DiagnosticSeverity
[src]
fn clone(&self) -> DiagnosticSeverity
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for DiagnosticSeverity
[src]
impl Copy for DiagnosticSeverity
impl<'de> Deserialize<'de> for DiagnosticSeverity
[src]
impl<'de> Deserialize<'de> for DiagnosticSeverity
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Serialize for DiagnosticSeverity
[src]
impl Serialize for DiagnosticSeverity
Auto Trait Implementations
impl Send for DiagnosticSeverity
impl Send for DiagnosticSeverity
impl Sync for DiagnosticSeverity
impl Sync for DiagnosticSeverity