Trait IsInherent

Source
pub trait IsInherent<Extrinsic> {
    // Required method
    fn is_inherent(ext: &Extrinsic) -> bool;
}
Expand description

A trait to check if an extrinsic is an inherent.

Required Methods§

Source

fn is_inherent(ext: &Extrinsic) -> bool

Whether this extrinsic is an inherent.

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§