LogLine

Trait LogLine 

Source
pub trait LogLine: FactLogTraits {
    // Required methods
    fn encode(&self) -> String;
    fn decode(s: &str) -> Self;
}
Expand description

Adds encode/decode functionality to a Fact so it can be logged

Required Methods§

Source

fn encode(&self) -> String

Encode as string

Source

fn decode(s: &str) -> Self

Decode from string

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.

Implementors§