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

No ends here, just a normal packet

Force-end the current page

End the whole logical stream.

Trait Implementations

impl PartialEq for PacketWriteEndInfo
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Copy for PacketWriteEndInfo
[src]

impl Clone for PacketWriteEndInfo
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more