pub trait Wire {
// Required methods
fn open(&self, method: &str, params: Value, sink: Sink) -> CallId;
fn close(&self, call: CallId);
}Expand description
The wire: the page’s one socket.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".