Enum ogg::PacketWriteEndInfo
[−]
[src]
pub enum PacketWriteEndInfo {
NormalPacket,
EndPage,
EndStream,
}Specifies whether to end something with the write of the packet.
If you want to end a stream you need to inform the Ogg PacketWriter
about this. This is the enum to do so.
Also, Codecs sometimes have special requirements to put
the first packet of the whole stream into its own page.
The EndPage variant can be used for this.
Variants
NormalPacketNo ends here, just a normal packet
EndPageForce-end the current page
EndStreamEnd the whole logical stream.
Trait Implementations
impl Clone for PacketWriteEndInfo[src]
fn clone(&self) -> PacketWriteEndInfo
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more