pub trait Envelope: FromTxCompact<TxType: Compact> {
// Required methods
fn signature(&self) -> &Signature;
fn tx_type(&self) -> Self::TxType;
}
Available on crate feature
test-utils
only.Expand description
A trait for types convertible from a compact transaction type.