Trait MessageSpec

Source
pub trait MessageSpec {
    // Required methods
    fn message(&self) -> &Self;
    fn timestamp(&self) -> i64;
}

Required Methods§

Source

fn message(&self) -> &Self

Source

fn timestamp(&self) -> i64

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§