Struct wasmbus_rpc::provider::ProviderTransport [−][src]
pub struct ProviderTransport<'send> {
pub bridge: &'send HostBridge,
pub ld: &'send LinkDefinition,
// some fields omitted
}
Fields
bridge: &'send HostBridge
ld: &'send LinkDefinition
Implementations
constructs a ProviderTransport with the LinkDefinition and bridge. If the bridge parameter is None, the current (static) bridge is used.
pub fn new_with_timeout(
ld: &'send LinkDefinition,
bridge: Option<&'send HostBridge>,
timeout: Option<Duration>
) -> Self
pub fn new_with_timeout(
ld: &'send LinkDefinition,
bridge: Option<&'send HostBridge>,
timeout: Option<Duration>
) -> Self
constructs a ProviderTransport with the LinkDefinition, bridge, and an optional rpc timeout. If the bridge parameter is None, the current (static) bridge is used.