pub trait WriteTsPacket {
// Required method
fn write_ts_packet(&mut self, packet: &TsPacket) -> Result<()>;
}Expand description
The WriteTsPacket trait allows for writing TS packets to a destination.
Required Methods§
Sourcefn write_ts_packet(&mut self, packet: &TsPacket) -> Result<()>
fn write_ts_packet(&mut self, packet: &TsPacket) -> Result<()>
Writes a TS packet.