remata 1.0.0

A Rust library for reading metadata from various media file formats.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#[derive(Debug)]
pub struct ParserError { pub message: String }

impl ParserError {
    /// Creates a new ASF error with a message.
    pub fn new(msg: &str) -> Self { Self { message: msg.into() } }
}

impl From<std::io::Error> for ParserError {
    fn from(e: std::io::Error) -> Self {
        ParserError { message: e.to_string() }
    }
}