OpPooledTx

Trait OpPooledTx 

Source
pub trait OpPooledTx:
    MaybeConditionalTransaction
    + MaybeInteropTransaction
    + PoolTransaction
    + DataAvailabilitySized {
    // Required method
    fn encoded_2718(&self) -> Cow<'_, Bytes>;
}
Expand description

Helper trait to provide payload builder with access to conditionals and encoded bytes of transaction.

Required Methods§

Source

fn encoded_2718(&self) -> Cow<'_, Bytes>

Returns the EIP-2718 encoded bytes of the transaction.

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.

Implementors§

Source§

impl<Cons, Pooled> OpPooledTx for OpPooledTransaction<Cons, Pooled>
where Cons: SignedTransaction + From<Pooled>, Pooled: SignedTransaction + TryFrom<Cons>, <Pooled as TryFrom<Cons>>::Error: Error,