pub trait CotpConnection: Send {
// Required methods
fn get_protocol_infomation_list(&self) -> &Vec<Box<dyn ProtocolInformation>>;
fn split(
self,
) -> impl Future<Output = Result<(impl CotpReader, impl CotpWriter), CotpError>> + Send;
}Required Methods§
fn get_protocol_infomation_list(&self) -> &Vec<Box<dyn ProtocolInformation>>
fn split( self, ) -> impl Future<Output = Result<(impl CotpReader, impl CotpWriter), CotpError>> + Send
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.