pub trait BridgeResponseReceiver: Send {
// Required method
fn recv_response(
&self,
expected_call_id: u64,
) -> Result<BridgeResponse, String>;
}Expand description
Trait for receiving a BridgeResponse directly without re-serialization. Production code uses a channel-based implementation; tests use a buffer-based one.
Required Methods§
fn recv_response(&self, expected_call_id: u64) -> Result<BridgeResponse, String>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".