pub trait ScoConnectionProxyInterface: Send + Sync {
type Send_ResponseFut: Future<Output = Result<(), Error>> + Send;
// Required methods
fn send_(&self, packet: &[u8]) -> Self::Send_ResponseFut;
fn ack_receive(&self) -> Result<(), Error>;
fn stop(&self) -> Result<(), Error>;
}Required Associated Types§
Required Methods§
fn send_(&self, packet: &[u8]) -> Self::Send_ResponseFut
fn ack_receive(&self) -> Result<(), Error>
fn stop(&self) -> Result<(), Error>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".