referrerpolicy=no-referrer-when-downgrade
relay_utils

Trait BlockNumberBase

Source
pub trait BlockNumberBase:
    'static
    + From<u32>
    + UniqueSaturatedInto<u64>
    + Ord
    + Clone
    + Copy
    + Default
    + Send
    + Sync
    + Debug
    + Display
    + Hash
    + Add<Output = Self>
    + Sub<Output = Self>
    + CheckedSub
    + Saturating
    + Zero
    + One { }
Expand description

Block number traits shared by all chains that relay is able to serve.

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§

Source§

impl<T> BlockNumberBase for T
where T: 'static + From<u32> + UniqueSaturatedInto<u64> + Ord + Clone + Copy + Default + Send + Sync + Debug + Display + Hash + Add<Output = Self> + Sub<Output = Self> + CheckedSub + Saturating + Zero + One,