Skip to main content

EncodingPuppetProxyInterface

Trait EncodingPuppetProxyInterface 

Source
pub trait EncodingPuppetProxyInterface: Send + Sync {
    type EncodeResponseFut: Future<Output = Result<EncodingPuppetEncodeResult, Error>> + Send;

    // Required method
    fn encode(&self, record: &Record) -> Self::EncodeResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn encode(&self, record: &Record) -> Self::EncodeResponseFut

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§