Skip to main content

CompletionDecoder

Trait CompletionDecoder 

Source
pub trait CompletionDecoder: Trace {
    // Required method
    fn decode(
        self: Box<Self>,
        context: &mut NativeCallContext<'_>,
        result: Result<SendPayload, ExternalFailure>,
    ) -> DecodedCompletion;
}

Required Methods§

Source

fn decode( self: Box<Self>, context: &mut NativeCallContext<'_>, result: Result<SendPayload, ExternalFailure>, ) -> DecodedCompletion

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§