moonbeam_client_evm_tracing::formatters

Trait ResponseFormatter

Source
pub trait ResponseFormatter {
    type Listener: Listener;
    type Response: Serialize;

    // Required method
    fn format(listener: Self::Listener) -> Option<Self::Response>;
}

Required Associated Types§

Required Methods§

Source

fn format(listener: Self::Listener) -> Option<Self::Response>

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 ResponseFormatter for moonbeam_client_evm_tracing::formatters::blockscout::Formatter

Source§

impl ResponseFormatter for moonbeam_client_evm_tracing::formatters::call_tracer::Formatter

Source§

impl ResponseFormatter for moonbeam_client_evm_tracing::formatters::raw::Formatter

Source§

impl ResponseFormatter for moonbeam_client_evm_tracing::formatters::trace_filter::Formatter