Trait HasStreamType

Source
pub trait HasStreamType: Async {
    type Stream<Item: Async>: Async;
}

Required Associated Types§

Source

type Stream<Item: Async>: Async

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§

Source§

impl<Runtime> HasStreamType for Runtime
where Runtime: Async + HasComponents, Runtime::Components: ProvideStreamType<Runtime>,

Source§

type Stream<Item: Async> = <<Runtime as HasComponents>::Components as ProvideStreamType<Runtime>>::Stream<Item>