Trait serai_processor::networks::Transaction

source ·
pub trait Transaction<N: Network>: Send + Sync + Sized + Clone + PartialEq + Debug {
    type Id: 'static + Id;

    // Required method
    fn id(&self) -> Self::Id;
}

Required Associated Types§

source

type Id: 'static + Id

Required Methods§

source

fn id(&self) -> Self::Id

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Transaction<Bitcoin> for Transaction

§

type Id = [u8; 32]

source§

fn id(&self) -> Self::Id

source§

impl Transaction<Monero> for Transaction

§

type Id = [u8; 32]

source§

fn id(&self) -> Self::Id

source§

impl<D: Db> Transaction<Ethereum<D>> for Transaction

§

type Id = [u8; 32]

source§

fn id(&self) -> Self::Id

Implementors§