Enum lsp_types::TraceValue
source · [−]pub enum TraceValue {
Off,
Messages,
Verbose,
}
Expand description
A TraceValue represents the level of verbosity with which the server systematically
reports its execution trace using LogTrace
notifications.
The initial trace value is set by the client at initialization and can be modified
later using the SetTrace
notification.
Variants
Off
The server should not send any $/logTrace
notification
Messages
The server should not add the ‘verbose’ field in the LogTraceParams
Verbose
Trait Implementations
sourceimpl Clone for TraceValue
impl Clone for TraceValue
sourcefn clone(&self) -> TraceValue
fn clone(&self) -> TraceValue
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 TraceValue
impl Debug for TraceValue
sourceimpl Default for TraceValue
impl Default for TraceValue
sourcefn default() -> TraceValue
fn default() -> TraceValue
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for TraceValue
impl<'de> Deserialize<'de> for TraceValue
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<TraceValue> for TraceValue
impl PartialEq<TraceValue> for TraceValue
sourcefn eq(&self, other: &TraceValue) -> bool
fn eq(&self, other: &TraceValue) -> bool
sourceimpl Serialize for TraceValue
impl Serialize for TraceValue
impl Copy for TraceValue
impl Eq for TraceValue
impl StructuralEq for TraceValue
impl StructuralPartialEq for TraceValue
Auto Trait Implementations
impl RefUnwindSafe for TraceValue
impl Send for TraceValue
impl Sync for TraceValue
impl Unpin for TraceValue
impl UnwindSafe for TraceValue
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