Skip to main content

Lane

Trait Lane 

Source
pub trait Lane:
    Sealed
    + Sized
    + Send
    + Sync
    + 'static {
    type Position: Copy + Ord + Debug + Display + Into<StreamPosition> + Send + Sync + Unpin + 'static;

    const ORDERING: Ordering;
}
Expand description

A delivery lane, and with it what a “position” means.

Sealed — the two implementors are InsertOrder and CommitOrder.

Required Associated Constants§

Source

const ORDERING: Ordering

The dynamic name of this lane, as stored state reports it.

Required Associated Types§

Source

type Position: Copy + Ord + Debug + Display + Into<StreamPosition> + Send + Sync + Unpin + 'static

Where a delivery sits on this lane.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§