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§
Sourcefn is_inherent(ext: &Extrinsic) -> bool
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.