pub trait Transport {
// Required method
fn send(&self, signed: Request) -> Result<(u16, String), Box<dyn Error>>;
}Expand description
A trait to implement the behavior for sending requests, often your “IO” layer
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".