pub enum OutputCategory {
Console,
Important,
Stdout,
Stderr,
Telemetry,
}
Expand description
The output category. If not specified, ‘console’ is assumed.
Variants§
Console
Show the output in the client’s default message UI, e.g. a ‘debug console’. This category should only be used for informational output from the debugger (as opposed to the debuggee).
Important
A hint for the client to show the ouput in the client’s UI for important and highly visible information, e.g. as a popup notification. This category should only be used for important messages from the debugger (as opposed to the debuggee). Since this category value is a hint, clients might ignore the hint and assume the ‘console’ category.
Stdout
Show the output as normal program output from the debuggee.
Stderr
Show the output as error program output from the debuggee.
Telemetry
Send the output to telemetry instead of showing it to the user.
Trait Implementations§
Source§impl Clone for OutputCategory
impl Clone for OutputCategory
Source§fn clone(&self) -> OutputCategory
fn clone(&self) -> OutputCategory
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for OutputCategory
impl Debug for OutputCategory
Source§impl Default for OutputCategory
impl Default for OutputCategory
Source§impl<'de> Deserialize<'de> for OutputCategory
impl<'de> Deserialize<'de> for OutputCategory
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>,
Source§impl PartialEq for OutputCategory
impl PartialEq for OutputCategory
Source§impl Serialize for OutputCategory
impl Serialize for OutputCategory
impl Eq for OutputCategory
impl StructuralPartialEq for OutputCategory
Auto Trait Implementations§
impl Freeze for OutputCategory
impl RefUnwindSafe for OutputCategory
impl Send for OutputCategory
impl Sync for OutputCategory
impl Unpin for OutputCategory
impl UnwindSafe for OutputCategory
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
key
and return true
if they are equal.