TopLevelId

Trait TopLevelId 

Source
pub trait TopLevelId<Id: TransactionId>:
    Eq
    + PartialEq
    + Ord
    + PartialOrd {
    // Required method
    fn id(&self) -> Id;
}
Expand description

A top-level ID that should contain the unique Id, but can be priority ordered.

Required Methods§

Source

fn id(&self) -> Id

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§