reth_primitives_traits::tx_type

Trait TxType

Source
pub trait TxType:
    Send
    + Sync
    + Unpin
    + Clone
    + Copy
    + Default
    + Debug
    + Display
    + PartialEq
    + Eq
    + PartialEq<u8>
    + Into<u8>
    + Into<U8>
    + TryFrom<u8, Error: Debug>
    + TryFrom<u64, Error: Debug>
    + TryFrom<U64>
    + Encodable
    + Decodable { }
Expand description

Trait representing the behavior of a transaction type.

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<T> TxType for T
where T: Send + Sync + Unpin + Clone + Copy + Default + Debug + Display + PartialEq + Eq + PartialEq<u8> + Into<u8> + Into<U8> + TryFrom<u8, Error: Debug> + TryFrom<u64, Error: Debug> + TryFrom<U64> + Encodable + Decodable,