oxyroot 0.1.25

Another attempt to make library reading and writing of `.root` binary files which are commonly used in particle physics
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pub type Result<T> = core::result::Result<T, Error>;

#[derive(Debug)]
pub enum Error {
    TypeMismatch { expected: String, given: String },
    BranchNotFound { name: String },
}

impl std::fmt::Display for Error {
    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
        write!(f, "Root Error: {:?}", self)
    }
}

impl std::error::Error for Error {}