Struct m3u::Writer
[−]
[src]
pub struct Writer<W, E> where
W: Write, { /* fields omitted */ }
A writer that accepts entries of type E
and writes the associated M3U format.
Entries are always written using in UTF-8.
Methods
impl<W, E> Writer<W, E> where
W: Write,
[src]
W: Write,
fn flush(self) -> Result<(), Error>
Flush
the writer
output stream, ensuring that all intermediately buffered entries reach
their destination.
This should be called after all entries have been written.
If it is not called, the destructor will finalize the file, but any errors that occur in the process cannot be handled.
Trait Implementations
impl<W, E> Drop for Writer<W, E> where
W: Write,
[src]
W: Write,