Skip to main content

openwraw/
lib.rs

1pub mod mzml;
2pub mod raw;
3pub mod reader;
4
5pub use reader::{DecodedScan, DecodedSpectrum, Encoding, FunctionEntry, Reader};
6
7#[derive(Debug, thiserror::Error)]
8pub enum Error {
9    #[error("I/O error: {0}")]
10    Io(#[from] std::io::Error),
11    #[error("parse error: {0}")]
12    Parse(String),
13}
14
15pub type Result<T> = std::result::Result<T, Error>;