Skip to main content

Module t2mi_stream

Module t2mi_stream 

Source
Expand description

T2miEventStream — async futures_core::Stream of owned T2-MI events.

Wraps dvb_t2mi::pump::T2miPump over any tokio::io::AsyncRead source, yielding one dvb_t2mi::pump::T2miEvent per complete, CRC-valid T2-MI packet. Events own their bytes via bytes::Bytes and are 'static, Clone, and Send + Sync.

§Cancellation

Dropping the T2miEventStream cancels cleanly — no internal tasks are spawned.

Structs§

T2miEventStream
Async Stream of T2miEvents from a raw TS byte source.