pub trait WrpcCtx<T: Invoke>: Send {
// Required methods
fn context(&self) -> T::Context;
fn client(&self) -> &T;
fn shared_resources(&mut self) -> &mut SharedResourceTable;
// Provided method
fn timeout(&self) -> Option<Duration> { ... }
}Required Methods§
Returns a table of shared exported resources
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".