Skip to main content

ForkGraph

Trait ForkGraph 

Source
pub trait ForkGraph:
    Copy
    + Clone
    + Send
    + Sync {
    // Required method
    fn relationship(&self, a: Slot, b: Slot) -> BlockRelation;
}
Expand description

Maps relationship between two slots.

Required Methods§

Source

fn relationship(&self, a: Slot, b: Slot) -> BlockRelation

Returns the BlockRelation of A to B

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§