pub trait WrpcView: IoView + Send {
type Invoke: Invoke;
// Required methods
fn context(&self) -> <Self::Invoke as Invoke>::Context;
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