Skip to main content

DecodeContext

Trait DecodeContext 

Source
pub trait DecodeContext {
    // Required method
    fn remote_proxy(&self) -> Option<Arc<dyn RemoteProxy + Sync + Send>>;
}
Expand description

Context for decoding messages.

Required Methods§

Source

fn remote_proxy(&self) -> Option<Arc<dyn RemoteProxy + Sync + Send>>

Returns the RemoteProxy associated with this context, if any.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§