pub trait DecodeContext {
// Required method
fn remote_proxy(&self) -> Option<Arc<dyn RemoteProxy + Sync + Send>>;
}Expand description
Context for decoding messages.
Required Methods§
Sourcefn remote_proxy(&self) -> Option<Arc<dyn RemoteProxy + Sync + Send>>
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".