Enum languageserver_types::DiagnosticSeverity [−][src]
pub enum DiagnosticSeverity {
Error,
Warning,
Information,
Hint,
}The protocol currently supports the following diagnostic severities:
Variants
ErrorReports an error.
WarningReports a warning.
InformationReports an information.
HintReports a hint.
Trait Implementations
impl Debug for DiagnosticSeverity[src]
impl Debug for DiagnosticSeverityfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for DiagnosticSeverity[src]
impl Eq for DiagnosticSeverityimpl PartialEq for DiagnosticSeverity[src]
impl PartialEq for DiagnosticSeverityfn eq(&self, other: &DiagnosticSeverity) -> bool[src]
fn eq(&self, other: &DiagnosticSeverity) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Clone for DiagnosticSeverity[src]
impl Clone for DiagnosticSeverityfn clone(&self) -> DiagnosticSeverity[src]
fn clone(&self) -> DiagnosticSeverityReturns 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 DiagnosticSeverityimpl<'de> Deserialize<'de> for DiagnosticSeverity[src]
impl<'de> Deserialize<'de> for DiagnosticSeverityfn 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 DiagnosticSeverityAuto Trait Implementations
impl Send for DiagnosticSeverity
impl Send for DiagnosticSeverityimpl Sync for DiagnosticSeverity
impl Sync for DiagnosticSeverity