pub trait StructuredLogOutput:
Debug
+ Send
+ Sync {
// Required methods
fn begin(&mut self);
fn write(&mut self, bytes: &[u8]);
fn finish(&mut self, success: bool);
}Expand description
Statically composed destinations for one local serialization attempt. A local section rollover starts a fresh attempt; only successful local writes are committed. Destination overflow must not fail the local write.
Required Methods§
fn begin(&mut self)
fn write(&mut self, bytes: &[u8])
fn finish(&mut self, success: bool)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".