Trait SourceTimestamp

Source
pub trait SourceTimestamp:
    Timestamp
    + Columnation
    + Refines<()>
    + Display
    + Sync {
    // Required methods
    fn encode_row(&self) -> Row;
    fn decode_row(row: &Row) -> Self;
}

Required Methods§

Source

fn encode_row(&self) -> Row

Source

fn decode_row(row: &Row) -> Self

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.

Implementations on Foreign Types§

Source§

impl SourceTimestamp for Lsn

Source§

fn encode_row(&self) -> Row

Source§

fn decode_row(row: &Row) -> Self

Implementors§