Skip to main content

FromTxWithEncoded

Trait FromTxWithEncoded 

Source
pub trait FromTxWithEncoded<T>: FromRecoveredTx<T> {
    // Provided method
    fn from_tx_with_encoded(tx: WithEncoded<Recovered<T>>) -> Self
       where Self: Sized { ... }
}
Expand description

Converts a recovered transaction with its encoded bytes into the configured transaction environment.

Provided Methods§

Source

fn from_tx_with_encoded(tx: WithEncoded<Recovered<T>>) -> Self
where Self: Sized,

Converts a recovered transaction with its encoded bytes into the configured transaction environment.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T, TxEnv> FromTxWithEncoded<T> for Recovered<TxEnv>
where TxEnv: FromTxWithEncoded<T>,

Source§

fn from_tx_with_encoded(tx: WithEncoded<Recovered<T>>) -> Self

Source§

impl<T> FromTxWithEncoded<T> for TxEnvelope
where Self: From<T>,

Implementors§