Skip to main content

CospReader

Trait CospReader 

Source
pub trait CospReader: Send {
    // Required method
    fn recv(
        &mut self,
    ) -> impl Future<Output = Result<CospRecvResult, CospError>> + Send;
}

Required Methods§

Source

fn recv( &mut self, ) -> impl Future<Output = Result<CospRecvResult, CospError>> + 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.

Implementors§