Enum matroska::MatroskaError [−][src]
pub enum MatroskaError {
Io(Error),
UTF8(FromUtf8Error),
InvalidID,
InvalidSize,
InvalidUint,
InvalidFloat,
InvalidDate,
}
Expand description
A possible error when parsing a Matroska file
Variants
Io(Error)
Tuple Fields
0: Error
An I/O error
UTF8(FromUtf8Error)
Tuple Fields
An error decoding a UTF-8 string
InvalidID
An invalid element ID
InvalidSize
An invalid element size
InvalidUint
An invalid unsigned integer
InvalidFloat
An invalid floating point value
InvalidDate
An invalid date value
Trait Implementations
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
The lower-level source of this error, if any. Read more
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
👎 Deprecated since 1.42.0:
use the Display impl or to_string()