av_data::packet

Trait WritePacket

Source
pub trait WritePacket: Write {
    // Provided method
    fn put_packet(&mut self, pkt: Packet) -> Result<()> { ... }
}
Expand description

Used to write a packet into a source.

Provided Methods§

Source

fn put_packet(&mut self, pkt: Packet) -> Result<()>

Writes a packet into a source.

Implementors§

Source§

impl<W: Write + ?Sized> WritePacket for W