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§
source§impl Clone for TraceValue
impl Clone for TraceValue
source§fn clone(&self) -> TraceValue
fn clone(&self) -> TraceValue
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TraceValue
impl Debug for TraceValue
source§impl Default for TraceValue
impl Default for TraceValue
source§fn default() -> TraceValue
fn default() -> TraceValue
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TraceValue
impl<'de> Deserialize<'de> for TraceValue
source§fn 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
source§impl PartialEq for TraceValue
impl PartialEq for TraceValue
source§impl Serialize for TraceValue
impl Serialize for TraceValue
impl Copy for TraceValue
impl Eq for TraceValue
impl StructuralPartialEq for TraceValue
Auto Trait Implementations§
impl Freeze for TraceValue
impl RefUnwindSafe for TraceValue
impl Send for TraceValue
impl Sync for TraceValue
impl Unpin for TraceValue
impl UnwindSafe for TraceValue
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.