pub trait CompletionDecoder: Trace {
// Required method
fn decode(
self: Box<Self>,
context: &mut NativeCallContext<'_>,
result: Result<SendPayload, ExternalFailure>,
) -> DecodedCompletion;
}Required Methods§
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".