Enum lsp_types::DiagnosticSeverity
source · 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
sourceimpl Clone for DiagnosticSeverity
impl Clone for DiagnosticSeverity
sourcefn clone(&self) -> DiagnosticSeverity
fn clone(&self) -> DiagnosticSeverity
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for DiagnosticSeverity
impl Debug for DiagnosticSeverity
sourceimpl<'de> Deserialize<'de> for DiagnosticSeverity
impl<'de> Deserialize<'de> for DiagnosticSeverity
sourcefn 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
sourceimpl PartialEq<DiagnosticSeverity> for DiagnosticSeverity
impl PartialEq<DiagnosticSeverity> for DiagnosticSeverity
sourcefn eq(&self, other: &DiagnosticSeverity) -> bool
fn eq(&self, other: &DiagnosticSeverity) -> bool
sourceimpl Serialize for DiagnosticSeverity
impl Serialize for DiagnosticSeverity
impl Copy for DiagnosticSeverity
impl Eq for DiagnosticSeverity
impl StructuralEq for DiagnosticSeverity
impl StructuralPartialEq for DiagnosticSeverity
Auto Trait Implementations
impl RefUnwindSafe for DiagnosticSeverity
impl Send for DiagnosticSeverity
impl Sync for DiagnosticSeverity
impl Unpin for DiagnosticSeverity
impl UnwindSafe for DiagnosticSeverity
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more