Trait OpTxTr

Source
pub trait OpTxTr: Transaction + DepositTransaction {
    // Required method
    fn enveloped_tx(&self) -> Option<&Bytes>;
}

Required Methods§

Source

fn enveloped_tx(&self) -> Option<&Bytes>

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.

Implementations on Foreign Types§

Source§

impl<'a, T: 'a + OpTxTr + ?Sized> OpTxTr for &'a T

Source§

fn enveloped_tx(&self) -> Option<&Bytes>

Source§

impl<'a, T: 'a + OpTxTr + ?Sized> OpTxTr for &'a mut T

Source§

fn enveloped_tx(&self) -> Option<&Bytes>

Source§

impl<T: OpTxTr + ?Sized> OpTxTr for Box<T>

Source§

fn enveloped_tx(&self) -> Option<&Bytes>

Source§

impl<T: OpTxTr + ?Sized> OpTxTr for Arc<T>

Source§

fn enveloped_tx(&self) -> Option<&Bytes>

Implementors§