StreamT

Trait StreamT 

Source
pub trait StreamT: Sync + Sync {
    // Required method
    fn stream(
        &self,
        queue: &Client,
        network: &NetworkKind,
    ) -> impl Future<Output = Result<(), PropagateError>> + Send;
}

Required Methods§

Source

fn stream( &self, queue: &Client, network: &NetworkKind, ) -> impl Future<Output = Result<(), PropagateError>> + 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§