Trait Timestamp

Source
pub trait Timestamp:
    Clone
    + Eq
    + PartialOrder
    + Debug
    + Send
    + Any
    + ExchangeData
    + Hash
    + Ord {
    type Summary: PathSummary<Self> + 'static;

    // Required method
    fn minimum() -> Self;
}
Expand description

A composite trait for types that serve as timestamps in timely dataflow.

By implementing this trait, you promise that the type’s PartialOrder implementation is compatible with Ord, such that if a.less_equal(b) then a <= b.

Required Associated Types§

Source

type Summary: PathSummary<Self> + 'static

A type summarizing action on a timestamp along a dataflow path.

Required Methods§

Source

fn minimum() -> Self

A unique minimum value in our partial order.

This value will often be used as an initial value, and should be cheap to construct.

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 Timestamp for i8

Source§

impl Timestamp for i16

Source§

impl Timestamp for i32

Source§

impl Timestamp for i64

Source§

impl Timestamp for i128

Source§

impl Timestamp for isize

Source§

impl Timestamp for u8

Source§

impl Timestamp for u16

Source§

impl Timestamp for u32

Source§

impl Timestamp for u64

Source§

impl Timestamp for u128

Source§

impl Timestamp for ()

Source§

impl Timestamp for usize

Source§

impl Timestamp for Duration

Source§

impl<TOuter: Timestamp, TInner: Timestamp> Timestamp for (TOuter, TInner)

Source§

type Summary = (<TOuter as Timestamp>::Summary, <TInner as Timestamp>::Summary)

Source§

fn minimum() -> Self

Implementors§

Source§

impl<TOuter: Timestamp, TInner: Timestamp> Timestamp for Product<TOuter, TInner>

Source§

type Summary = Product<<TOuter as Timestamp>::Summary, <TInner as Timestamp>::Summary>