Expand description
A crate for reading and writing the M3U format.
The M3U format is considered the de facto standard for multimedia playlists.
There is no formal specification for the M3U format. This crate is implemented based on the rough description under the format’s current wikipedia entry.
Re-exports§
pub extern crate url;
Structs§
- Entries
- An iterator that yields
Entry
s. - Entry
Ext - An entry with some associated extra information.
- Entry
Exts - An iterator that yields
EntryExt
s. - ExtInf
- Extra information associated with an M3U entry.
- Reader
- A reader that reads the
M3U
format from the underlying reader. - Url
- A parsed URL record.
- Writer
- A writer that accepts entries of type
E
and writes the associated M3U format.
Enums§
- Entry
- An entry in an M3U multimedia playlist.
- Entry
ExtReader Construction Error - Errors that may occur when constructing a new
Reader<R, EntryExt>
. - Read
Entry ExtError - Errors that may occur when attempting to read an
EntryExt
from a read linestr
.
Functions§
- path_
entry - A helper function to simplify creation of the
Entry
’sPath
variant. - url_
entry - A helper function to simplify creation of the
Entry
’sUrl
variant.
Type Aliases§
- Entry
ExtReader - A
Reader
that specifically readsEntryExt
s. - Entry
ExtWriter - A
Writer
that specifically writesEntryExt
s. - Entry
Reader - A
Reader
that specifically readsEntry
s. - Entry
Writer - A
Writer
that specifically writesEntry
s.