Type Definition sp_runtime::transaction_validity::TransactionValidity
source · pub type TransactionValidity = Result<ValidTransaction, TransactionValidityError>;
Expand description
Information on a transaction’s validity and, if valid, on how it relates to other transactions.
Trait Implementations§
source§impl From<InvalidTransaction> for TransactionValidity
impl From<InvalidTransaction> for TransactionValidity
source§fn from(invalid_transaction: InvalidTransaction) -> Self
fn from(invalid_transaction: InvalidTransaction) -> Self
Converts to this type from the input type.
source§impl From<UnknownTransaction> for TransactionValidity
impl From<UnknownTransaction> for TransactionValidity
source§fn from(unknown_transaction: UnknownTransaction) -> Self
fn from(unknown_transaction: UnknownTransaction) -> Self
Converts to this type from the input type.
source§impl From<ValidTransactionBuilder> for TransactionValidity
impl From<ValidTransactionBuilder> for TransactionValidity
source§fn from(builder: ValidTransactionBuilder) -> Self
fn from(builder: ValidTransactionBuilder) -> Self
Converts to this type from the input type.