Skip to main content

RtmpStream

Trait RtmpStream 

Source
pub trait RtmpStream:
    AsyncRead
    + AsyncWrite
    + Unpin
    + Send { }
Available on crate feature tokio only.
Expand description

An erased, transport-agnostic inbound byte stream: an accepted TCP socket, a TLS stream wrapping one, or a test’s in-memory pipe.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§