Skip to main content

EthernetTxProxyInterface

Trait EthernetTxProxyInterface 

Source
pub trait EthernetTxProxyInterface: Send + Sync {
    type TransferResponseFut: Future<Output = Result<EthernetTxTransferResult, Error>> + Send;

    // Required method
    fn transfer(
        &self,
        payload: &EthernetTxTransferRequest,
    ) -> Self::TransferResponseFut;
}

Required Associated Types§

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§