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

NormalPacket

No ends here, just a normal packet

EndPage

Force-end the current page

EndStream

End the whole logical stream.

Trait Implementations

impl PartialEq for PacketWriteEndInfo
[src]

fn eq(&self, __arg_0: &PacketWriteEndInfo) -> bool

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

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

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