pub trait WrpcView: Send {
type Invoke: Invoke;
// Required methods
fn client(&self) -> &Self::Invoke;
fn shared_resources(&mut self) -> &mut SharedResourceTable;
// Provided method
fn timeout(&self) -> Option<Duration> { ... }
}
Required Associated Types§
Required Methods§
sourcefn client(&self) -> &Self::Invoke
fn client(&self) -> &Self::Invoke
Returns an Invoke implementation used to satisfy polyfilled imports
Returns a table of shared exported resources