Enum srtparse::Error [] [src]

pub enum Error {
    BadPosition,
    BadTime,
    BadTimeFormat,
    MissingStartTime,
    MissingEndTime,
    MissingText,
    OpenFile(IoError),
    ReadFile(IoError),
}

Describes all errors that may occur

Variants

An error when parsing subtitle position

An error when parsing subtitle time

Unsupported subtitle time format

Subtitle start time is missing

Subtitle end time is missing

Subtitle text is missing

Unable to open a file

Unable to subtitles from a file

Trait Implementations

impl StdError for Error
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Display for Error
[src]

Formats the value using the given formatter. Read more