Skip to main content

TpktConnection

Trait TpktConnection 

Source
pub trait TpktConnection: Send {
    // Required method
    fn split(
        self,
    ) -> impl Future<Output = Result<(impl TpktReader, impl TpktWriter), TpktError>> + Send;
}

Required Methods§

Source

fn split( self, ) -> impl Future<Output = Result<(impl TpktReader, impl TpktWriter), TpktError>> + 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§