pub trait Checkable<Context>: Sized {
type Checked;
// Required method
fn check(
self,
c: &Context,
) -> Result<Self::Checked, TransactionValidityError>;
}Expand description
A “checkable” piece of information, used by the standard Tetcore Executive in order to
check the validity of a piece of extrinsic information, usually by verifying the signature.
Implement for pieces of information that require some additional context Context in order to be
checked.
Required Associated Types§
Required Methods§
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.