pub trait VerdictRepresentation:
Clone
+ Debug
+ Send
+ CondSerialize
+ 'static {
type Tracing: Tracer;
// Required methods
fn create(data: RawVerdict<'_>) -> Self;
fn is_empty(&self) -> bool;
// Provided method
fn create_with_trace(data: RawVerdict<'_>, _tracing: Self::Tracing) -> Self { ... }
}Expand description
Provides the functionality to generate a snapshot of the streams values.
Required Associated Types§
Required Methods§
Sourcefn create(data: RawVerdict<'_>) -> Self
fn create(data: RawVerdict<'_>) -> Self
Creates a snapshot of the streams values.
Provided Methods§
Sourcefn create_with_trace(data: RawVerdict<'_>, _tracing: Self::Tracing) -> Self
fn create_with_trace(data: RawVerdict<'_>, _tracing: Self::Tracing) -> Self
Creates a snapshot of the streams values including tracing data.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.