Struct ConsoleJsonExporter
pub struct ConsoleJsonExporter(());Expand description
An exporter that outputs telemetry messages as JSON to stdout.
§Examples
use veecle_osal_std::{time::Time, thread::Thread};
veecle_telemetry::collector::build()
.random_process_id()
.console_json_exporter()
.time::<Time>()
.thread::<Thread>()
.set_global()
.unwrap();Tuple Fields§
§0: ()Implementations§
§impl ConsoleJsonExporter
impl ConsoleJsonExporter
pub const DEFAULT: ConsoleJsonExporter
pub const DEFAULT: ConsoleJsonExporter
A const version of ConsoleJsonExporter::default() to allow use as a &'static.
Trait Implementations§
§impl Debug for ConsoleJsonExporter
impl Debug for ConsoleJsonExporter
§impl Default for ConsoleJsonExporter
impl Default for ConsoleJsonExporter
§fn default() -> ConsoleJsonExporter
fn default() -> ConsoleJsonExporter
Returns the “default value” for a type. Read more
§impl Export for ConsoleJsonExporter
impl Export for ConsoleJsonExporter
§fn export(&self, message: InstanceMessage<'_, Transient>)
fn export(&self, message: InstanceMessage<'_, Transient>)
Exports a telemetry message. Read more
Auto Trait Implementations§
impl Freeze for ConsoleJsonExporter
impl RefUnwindSafe for ConsoleJsonExporter
impl Send for ConsoleJsonExporter
impl Sync for ConsoleJsonExporter
impl Unpin for ConsoleJsonExporter
impl UnwindSafe for ConsoleJsonExporter
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