Struct ConsoleJsonExporter
pub struct ConsoleJsonExporter;
Expand description
An exporter that outputs telemetry messages as JSON to stdout.
§Examples
use veecle_telemetry::collector::{ConsoleJsonExporter, set_exporter};
use veecle_telemetry::protocol::ExecutionId;
let execution_id = ExecutionId::random(&mut rand::rng());
set_exporter(execution_id, &ConsoleJsonExporter).unwrap();
Trait Implementations§
§impl Debug for ConsoleJsonExporter
impl Debug for ConsoleJsonExporter
§impl Export for ConsoleJsonExporter
impl Export for ConsoleJsonExporter
§fn export(&self, message: InstanceMessage<'_>)
fn export(&self, message: InstanceMessage<'_>)
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