Trace

Trait Trace 

Source
pub trait Trace:
    Any
    + Send
    + Sync {
    // Required methods
    fn make_binary(&mut self, kind: DataKind, data: &[u8]) -> Data;
    fn make_string(&mut self, kind: DataKind, data: &str) -> Data;
    fn add(&mut self, action: Action<'_, PointerReferences>)
       where for<'a> Action<'a, PointerReferences>: Serialize;
}
Available on (crate features trace or replay) and crate feature trace only.

Required Methods§

Source

fn make_binary(&mut self, kind: DataKind, data: &[u8]) -> Data

Source

fn make_string(&mut self, kind: DataKind, data: &str) -> Data

Source

fn add(&mut self, action: Action<'_, PointerReferences>)
where for<'a> Action<'a, PointerReferences>: Serialize,

Implementors§